[ 
https://issues.apache.org/jira/browse/QPID-6272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14247952#comment-14247952
 ] 

ASF subversion and git services commented on QPID-6272:
-------------------------------------------------------

Commit 1645880 from [~k-wall] in branch 'qpid/trunk'
[ https://svn.apache.org/r1645880 ]

QPID-6272: [Java Broker] Null reference to AMQChannel#defaultQueue once the 
queue is deleted

> 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
>    Affects Versions: 0.18, 0.22, 0.30
>            Reporter: Keith Wall
>            Assignee: Keith Wall
>            Priority: Minor
>             Fix For: 0.31
>
>
> 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