Keith Wall created QPID-6272:
--------------------------------

             Summary: Avoid leak potential for the 0-8..0-91 default queue
                 Key: QPID-6272
                 URL: https://issues.apache.org/jira/browse/QPID-6272
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker
            Reporter: Keith Wall
            Assignee: Keith Wall
            Priority: Minor
             Fix For: 0.30


AMQP 0-8..0-91 has a concept of default queue.  This is the default queue to 
which operations such as basic.consume apply if the client chooses not to pass 
a queue argument within the command.   The  default queue is defined as the 
queue that is most recently declared, passively or otherwise by a queue.declare 
command.

There is the potential for a leak in the current implementation of AMQChannel's 
default queue implementation.  It retains a reference the queue that is the 
default even if the queue is deleted.  It would be safer if the default queue 
reference is cleared if the queue is deleted (either explicitly by a 
queue.delete or the side effect of the cancelling of a consumer).






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to