Consumers can be deregistered before they have been fully registered resulting 
in memory leak
---------------------------------------------------------------------------------------------

                 Key: QPID-851
                 URL: https://issues.apache.org/jira/browse/QPID-851
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker
    Affects Versions: M2.1
            Reporter: Martin Ritchie
            Assignee: Martin Ritchie
             Fix For: M2.1


Summary:
In AMQChannel on a successful registration of the session we add the consumer 
to a map for later queue lookup. However if the consumer is auto close then the 
consumer can be deregistered by a second thread before the add to the map has 
even occured.

If we add to the map before the registration call and tidy up on any error we 
will prevent this issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to