[email protected] wrote:
Yes, I am using Java client. session.sync() doesn't work. What I mean is that
I send the message and wait for the reply, the current thread will be
blocked until the reply message is coming. But when I call session.sync()
method, the method will return immediately. I am looking for a
request-response communication mode.
Ah, sorry, I thought by server you meant the broker.
Have you looked at the QueueRequestor class that is part of the JMS API?
It sounds like this will do exactly what you want. Try googling "JMS
QueueRequestor" for more documentation and examples.
--Rafael
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]