optimization for large number of queue consumers

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@492993 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Davies 2007-01-05 11:47:49 +00:00
parent a664b0b917
commit 720a19c5bf
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ public class IndirectMessageReference implements QueueMessageReference {
int rc = --referenceCount; int rc = --referenceCount;
if( persistent && rc == 0 && message!=null) { if( persistent && rc == 0 && message!=null) {
message.decrementReferenceCount(); message.decrementReferenceCount();
message=null; //message=null;
} }
return rc; return rc;
} }