mirror of https://github.com/apache/activemq.git
Fix for Queues getting full in the broker
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@397420 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0cacae1f04
commit
40b96b1b8f
|
@ -153,7 +153,7 @@ public class QueueSubscription extends PrefetchSubscription implements LockOwner
|
|||
// 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;
|
||||
|
|
Loading…
Reference in New Issue