You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ra...@apache.org on 2006/04/27 07:47:29 UTC

svn commit: r397420 - /incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/QueueSubscription.java

Author: rajdavies
Date: Wed Apr 26 22:47:28 2006
New Revision: 397420

URL: http://svn.apache.org/viewcvs?rev=397420&view=rev
Log:
Fix for Queues getting full in the broker

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

Modified: incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/QueueSubscription.java
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/QueueSubscription.java?rev=397420&r1=397419&r2=397420&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/QueueSubscription.java (original)
+++ incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/QueueSubscription.java Wed Apr 26 22:47:28 2006
@@ -153,7 +153,7 @@
             // If the message was dispatched, it could be getting dispatched async, so we
             // can only drop the reference count when that completes @see onDispatch
             if( !rc ) {
-                node.incrementReferenceCount();
+                node.decrementReferenceCount();
             }
         }
         return rc;