git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@692174 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Davies 2008-09-04 17:52:38 +00:00
parent 512ca88ba6
commit c6c4e5e4d8

View File

@ -196,7 +196,9 @@ public abstract class PrefetchSubscription extends AbstractSubscription {
// Don't remove the nodes until we are committed.
if (!context.isInTransaction()) {
dequeueCounter++;
node.getRegionDestination().getDestinationStatistics().getDequeues().increment();
if (this.getConsumerInfo().isBrowser()) {
node.getRegionDestination().getDestinationStatistics().getDequeues().increment();
}
if (!isSlave()) {
node.getRegionDestination().getDestinationStatistics().getInflight().decrement();
}