mirror of https://github.com/apache/activemq.git
Applied patch for https://issues.apache.org/activemq/browse/AMQ-1838
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@690645 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c2f71284ba
commit
ec3d9adae5
|
@ -218,6 +218,13 @@ public abstract class PrefetchSubscription extends AbstractSubscription {
|
|||
.getDestinationStatistics()
|
||||
.getDequeues()
|
||||
.increment();
|
||||
|
||||
node
|
||||
.getRegionDestination()
|
||||
.getDestinationStatistics()
|
||||
.getInflight()
|
||||
.decrement();
|
||||
|
||||
prefetchExtension--;
|
||||
}
|
||||
}
|
||||
|
@ -354,6 +361,10 @@ public abstract class PrefetchSubscription extends AbstractSubscription {
|
|||
sendToDLQ(context, node);
|
||||
node.getRegionDestination().getDestinationStatistics()
|
||||
.getDequeues().increment();
|
||||
|
||||
node.getRegionDestination().getDestinationStatistics()
|
||||
.getInflight().increment();
|
||||
|
||||
removeList.add(node);
|
||||
dequeueCounter++;
|
||||
index++;
|
||||
|
|
Loading…
Reference in New Issue