activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric-AWL <>
Subject "Embedded broker", "network of brokers" and "temporary queues"
Date Tue, 22 Jan 2008 17:38:46 GMT

Hi !

I'm new with ActiveMQ

I succeeded in implementing a kind of Question/Answers protocol between a
client and a server, using JNDI-defined queues and temporary queues
(setJMSReplyTo, in the question JMS message and one temporary queue by
client thread) for the answer.

I have two different servers : 
- the first has an ActiveMQ standalone instance and the Client Process which
connects to the ActiveMQ standalone instance with a TCP localhost transport.
- the second has an ActiveMQ standalone instance and the Server process
which connects to the ActiveMQ standalone instance with a TCP localhost

The two ActiveMQ instances are in a network of brokers.
In this configuration, all is fine. Fixed and temporary Queues are known on
the two instances and used on the two physical servers, by all 4 processes

Then, I tried to use an embedded VM protocol on the client and server
process. I use a vm transport locally and a tcp network transport between
client and server.

In this case, the message generated on the fixed queue is received by the
server instance (on the second physical server), but the answer can't be
sent. I have an JMS exception on the server which says that the temporary
queue created on the client doesn't exist on the server.

javax.jms.JMSException: Cannot publish to a deleted Destination:

When I use the internal web-site on client, I can see the temporary queue
referenced by the exception. 

On server, the temporary queues don't exist.

I use ActiveMQ 4.1

Anyone has an idea ?

Thank you

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message