Author: rajdavies
Date: Tue Sep  9 03:51:15 2008
New Revision: 693431

URL: http://svn.apache.org/viewvc?rev=693431&view=rev
Log:
corrected applying patch for https://issues.apache.org/activemq/browse/AMQ-1900

Modified:
    
activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/PrefetchSubscription.java

Modified: 
activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/PrefetchSubscription.java
URL: 
http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/PrefetchSubscription.java?rev=693431&r1=693430&r2=693431&view=diff
==============================================================================
--- 
activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/PrefetchSubscription.java
 (original)
+++ 
activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/PrefetchSubscription.java
 Tue Sep  9 03:51:15 2008
@@ -196,7 +196,7 @@
                         // Don't remove the nodes until we are committed.
                         if (!context.isInTransaction()) {
                             dequeueCounter++;
-                            if (this.getConsumerInfo().isBrowser()) {
+                            if (!this.getConsumerInfo().isBrowser()) {
                                 
node.getRegionDestination().getDestinationStatistics().getDequeues().increment();
                             }
                             if (!isSlave()) {


Reply via email to