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:
Robert Davies 2006-04-27 05:47:28 +00:00
parent 0cacae1f04
commit 40b96b1b8f
1 changed files with 1 additions and 1 deletions

View File

@ -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;