You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Keith Wall (JIRA)" <ji...@apache.org> on 2015/12/09 14:51:11 UTC

[jira] [Updated] (QPID-6667) [Java Broker] Unused temporary queues are not deleted on connection disconnect

     [ https://issues.apache.org/jira/browse/QPID-6667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Keith Wall updated QPID-6667:
-----------------------------
    Summary: [Java Broker] Unused temporary queues are not deleted on connection disconnect  (was: [Java Broker] Unusued temporary queues are not deleted on connection disconnect)

> [Java Broker] Unused temporary queues are not deleted on connection disconnect
> ------------------------------------------------------------------------------
>
>                 Key: QPID-6667
>                 URL: https://issues.apache.org/jira/browse/QPID-6667
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>            Reporter: Rob Godfrey
>            Assignee: Alex Rudyy
>             Fix For: qpid-java-6.0
>
>
> Creating a temporary queue, never using it and then closing the connection leaves the (unused) temporary queue on the broker
> The following code snippet reproduce the issue
> {code}
>         System.setProperty((ClientProperties.AMQP_VERSION), "0-9-1");
>         AMQConnection connection = new AMQConnection("localhost", 5672, "guest", "guest", "", "/test");
>         Session session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
>         for(int i = 0; i < 100; i++)
>         {
>             final TemporaryQueue tmpQ = session.createTemporaryQueue();
>         }
>         System.exit(0);
> {code}



--
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