]
Mike Clark reopened JBMESSAGING-1215:
-------------------------------------
Assignee: Mike Clark (was: Tim Fox)
Tim suggested moving the test case to
org.jboss.test.messaging.jms.TemporaryDestinationTest.java. Reopening to track this
change.
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: Mike Clark
Priority: Minor
Fix For: Stable branch, 1.4.0.SP3.CP01
Attachments: ReproduceTempQueueLeak.zip, 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: