mirror of
https://github.com/apache/activemq.git
synced 2025-02-13 13:36:07 +00:00
Applied patch for https://issues.apache.org/activemq/browse/AMQ-1900
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@692174 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
512ca88ba6
commit
c6c4e5e4d8
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user