Does anybody know, whether it is a possible way of using temporary
queues/topics?
Thanks a lot!
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4232407#4232407
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4232407
I'm having trouble understanding what you're trying to achieve.
Perhaps you could post a test program?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=4226924#4226924
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4226924
The client, which creates a temporary queue, registers it's name to jboss cache
and listening for messages:
| package hu.molaris.client;
|
| import java.util.Properties;
|
| import javax.jms.Connection;
| import javax.jms.ConnectionFactory;
| import javax.jms.Message;
| import
Temporary queues can take a little time to propagate across the network.
Are you creating a temp queue then immediately sending a message with that
queue as replyTo?
Are you creating a new temp queue for each message sent? (That would be a
classic anti-pattern).
Have you tried sleeping a
Hi Tim,
Thanks for the fast reply!
I've tried to wait 10 seconds or more after the creation of the temp queue.
The request/reply case, which is in the example, is working without any wait.
So if I create a temp queue on the client side, create a message, set the
replyTo property to the