mirror of https://github.com/apache/activemq.git
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:
parent
a664b0b917
commit
720a19c5bf
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue