You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/12/16 09:56:13 UTC

[jira] [Commented] (QPID-6272) Avoid leak potential for the 0-8..0-91 default queue

    [ 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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org