queues will prevent GC of a closed subscription if it was the last used 
subscription and no more messages are enqueued
----------------------------------------------------------------------------------------------------------------------

                 Key: QPID-3064
                 URL: https://issues.apache.org/jira/browse/QPID-3064
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker
    Affects Versions: 0.8, 0.7, 0.6
            Reporter: Robbie Gemmell
             Fix For: Future


SimpleAMQQueue uses an atomic reference to round robin the subscriptions when 
attempting to deliver a mesage to a subscription during enqueue operations. 
This reference will prevent the subscription being Garbage Collected when it is 
closed if the subscription was the last used and no more messages are enqueued. 
When unregistering a subscription, this reference should be updated if it 
points to the closing subscription.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org

Reply via email to