Consumer disconnection during connection will NPE on client 
------------------------------------------------------------

                 Key: QPID-2633
                 URL: https://issues.apache.org/jira/browse/QPID-2633
             Project: Qpid
          Issue Type: Bug
          Components: Java Client
            Reporter: Martin Ritchie
            Assignee: Martin Ritchie


If the Slow Consumer Detection plugin is applied to a queue then a newly 
connected consumer may be disconnected before the client as been fully informed 
or processed the fact that the consumer has been created.

This causes a problem as the client has some additional destination count logic 
that is only done after the client has fully connected.

This should be moved to before the subscription attempt is made. 
There is already a comment to the same affect about adding the consumer to the 
_consumer map so it makes sense to move the destination counting login to the 
same location.

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


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to