activemq-users mailing list archives

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

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

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

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:
Sent from the ActiveMQ - User mailing list archive at

View raw message