There are a couple of Improvement and Bug JIRAs hanging around for this one already. The Java client is currently relying on the auto-delete nature of the created queue to clean up the queue on the broker when the session is closed, as you have noticed.
Robbie > -----Original Message----- > From: Andrew Wright [mailto:[email protected]] > Sent: 31 May 2010 17:36 > To: [email protected] > Subject: JMS Temporary Queue delete() doesn't > > Hi all, > > We've run into a small issue with temporary queues. In a nutshell - > calling temporaryQueue.delete() from a JMS app doesn't actually delete > the AMQP queue on the broker. Closing the session that originally > created the temp queue does remove it. > > Is this expected or does it sound like a bug? Should mention - MRG 1.2 > C++ broker, qpid 0.6 java client libraries. > > Cheers, > Andrew > > --------------------------------------------------------------------- > Apache Qpid - AMQP Messaging Implementation > Project: http://qpid.apache.org > Use/Interact: mailto:[email protected] --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:[email protected]
