On 12/09/2010 01:49 PM, Adam Kaminiecki wrote:
I have one more question how can I get message synchronius? I know how to
subscribe for asynchronius.

Is method

session.Sync();

set all operation synchronius?



session.sync() will block until all previous operations on the session are completed. It doesn't have any effect on subsequent operations. Typical pattern is to do a bit of work asynchronously, then call session.sync() at the point where you want to be sure all the work has completed.

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

Reply via email to