Showing
1 changed file
with
4 additions
and
4 deletions
@@ -68,11 +68,11 @@ public abstract class AbstractMqListener implements ApplicationEventPublisherAwa | @@ -68,11 +68,11 @@ public abstract class AbstractMqListener implements ApplicationEventPublisherAwa | ||
68 | 68 | ||
69 | @Override | 69 | @Override |
70 | public void onMessage(Message message, Channel channel) throws Exception { | 70 | public void onMessage(Message message, Channel channel) throws Exception { |
71 | + if (ignoreIncrease) { | ||
72 | + logger.warn("be ignoreIncreasing ,please close the flag after successed "); | ||
73 | + return; | ||
74 | + } | ||
71 | try { | 75 | try { |
72 | - if (ignoreIncrease) { | ||
73 | - logger.warn("be ignoreIncreasing ,please close the flag after successed "); | ||
74 | - return; | ||
75 | - } | ||
76 | rebuildFlagService.waitingRebuildingIndex(); | 76 | rebuildFlagService.waitingRebuildingIndex(); |
77 | this.doBeforeConsume(); | 77 | this.doBeforeConsume(); |
78 | this.doConsume(message); | 78 | this.doConsume(message); |
-
Please register or login to post a comment