[jboss-jira] [JBoss JIRA] Updated: (JBMESSAGING-1215) Closing connection does not delete associated TemporaryQueues

Mike Clark (JIRA) jira-events at lists.jboss.org
Thu Dec 27 14:46:43 EST 2007


     [ http://jira.jboss.com/jira/browse/JBMESSAGING-1215?page=all ]

Mike Clark updated JBMESSAGING-1215:
------------------------------------

    Attachment: TemporaryQueueDelete.java

Code to reproduce the problem.

> Closing connection does not delete associated TemporaryQueues
> -------------------------------------------------------------
>
>                 Key: JBMESSAGING-1215
>                 URL: http://jira.jboss.com/jira/browse/JBMESSAGING-1215
>             Project: JBoss Messaging
>          Issue Type: Bug
>    Affects Versions: 1.4.0.SP3
>         Environment: N/A
>            Reporter: Mike Clark
>         Assigned To: Tim Fox
>         Attachments: TemporaryQueueDelete.java
>
>
> When a temporary queue is created, it is not deleted on Connection.close().  This leaves the queue on the system, but unusable since only consumers that are created from the same Connection are allowed to consume from a TemporaryQueue (i.e., it is a resource leak).
> To reproduce, simply create a Connection, Session, and TemporaryQueue.  Close the Connection and examine the Destinations attribute of the jboss.messaging:service=ServerPeer MBean.  See attached code.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list