activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r397420 - /incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/QueueSubscription.java
Date Thu, 27 Apr 2006 05:47:29 GMT
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;



Mime
View raw message