activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: Working with temporary queues
Date Tue, 09 Jan 2007 07:46:07 GMT
On 1/9/07, MrRothstein <mrrothstein@gmail.com> 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/

Mime
View raw message