On 1/9/07, MrRothstein <[EMAIL PROTECTED]> wrote:

Posted in dev forums first by accident.

Is there a way to connect to a temporary queue by name?

No not reall


I'm trying to do the following:
Component 1: Creates a jms message and a temp queue, puts the message on a
queue.
Component 2: Receives the jms message creates a request to another system,
sends the request.
Component 3: Receives a reply from the other system, creates a reply jms
message and puts in on the temporary queue for Component 1.

Is it possible to connect to the temp queue from component 3 if it doesn't
have a reference to the original request (can't do message.getJMSReplyTo())?

For component 1 why do you want to have a temporary queue? Why not
just use a real queue?

Typically temporary queues are only used by clients for setting the
JMSReplyTo so when they make requests of servers, the server can reply
to them.

--

James
-------
http://radio.weblogs.com/0112098/

Reply via email to