git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@690645 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Davies 2008-08-31 06:51:27 +00:00
parent c2f71284ba
commit ec3d9adae5
1 changed files with 11 additions and 0 deletions

View File

@ -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++;