It's because I don't know ActiveMQ very well :-) . I will try your configuration which seems far easier.
I think I find the reason why my programs hangs. On my process client, I create the temporary queue and just behind, I send a message with the JMSSetReply set to this temporary queue. I think that the second ActiveMQ instance has not had the time to create the temporary queue, when the server process tries to send the answer on it. If I put some "Thread.sleep" after I created the temporary queue and before I delete them, the things seems to go in a better way. But I have to practice a little more to be sure. It seems to be a problem of synchronization between the ActiveMQ intances in such a configuration. I continue my tests Eric -- View this message in context: http://www.nabble.com/%22Embedded-broker%22%2C-%22network-of-brokers%22-and-%22temporary-queues%22-tp15023996s2354p15044667.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.