On 06/21/2011 08:00 AM, Jiri Krutil wrote:
Hi
I would like to understand what exactly does Session::nextReceiver() in
the C++ client API (I'm using version 0.7).
What algorithm does it use to pick a Receiver? Does this involve
communication with the broker?
It returns the receiver to which the next received message was sent. It
relies on prefetched messages and does not require other communication
with the broker. This requires that there is prefetch of at least one
message enabled on at least one receiver.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]