activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laures <baetz.alexan...@googlemail.com>
Subject Close connection without deleting temp destinations?
Date Mon, 05 Dec 2011 15:03:36 GMT
Hi,

i have two clients. one calls createTemporaryQueue and sends the name of the
queue to the second client. now they can communicate using this destination.
When client two (the one that used the name) calls connection.close() he
gets: 

javax.jms.JMSException: A consumer is consuming from the temporary
destination

I figured out that this happens when you try to delete adestination that
still has a consumer. Thats ok, because the tempqueue is still in use.

My Question: is it possible to close the connection in a way that doesn't
try to delete the shared temp-destination?

--
View this message in context: http://activemq.2283324.n4.nabble.com/Close-connection-without-deleting-temp-destinations-tp4160820p4160820.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message