2008/10/2 kneumei <[EMAIL PROTECTED]>:
>
> 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.

The queue is owned by the connection which creates it.  So your
business object creates the queue; when you close it, you close the
connection and the temporary queue goes away.

-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://open.iona.com

Reply via email to