qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zhaoyi0113@gmail.com" <zhaoyi0...@gmail.com>
Subject How to handle sync call by QPID Java api?
Date Sun, 15 Aug 2010 08:38:32 GMT

I am new to QPID. I am using Java broker and want to setup a sync message
call between server and client. I use this API to send message:

session.messageTransfer("amq.direct", MessageAcceptMode.EXPLICIT,
					MessageAcquireMode.PRE_ACQUIRED, header,
					"Message5 " + i);

I want to wait for server reply. How can I do this in Java-QPID?

thanks,

Zhao Yi
-- 
View this message in context: http://apache-qpid-users.2158936.n2.nabble.com/How-to-handle-sync-call-by-QPID-Java-api-tp5424823p5424823.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org


Mime
View raw message