activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kneumei <>
Subject Re: How to properly close a queue?
Date Thu, 02 Oct 2008 15:58:39 GMT

Perhaps I am misunderstanding how JMS works, or maybe I didn't explain myself
very well.  How I am viewing JMS's relationship to my code right now is like
this:  My business objects (with their associated queues) are on the server. 
They produce messages.  Consumers (on a client machine) may come and go, but
the queue should not be destroyed until the business object is (that way
future clients might connect to the same queue).  If my understanding of
temporary queues is correct, the queue will be destroyed whenever a client
disconnects from the queue.  So what I am trying to figure out is when the
object that produces messages has reached its lifecycle end, how do I clean
up the queue that was associated with it.
View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message