qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gordon Sim <g...@redhat.com>
Subject Re: What exactly does Session::nextReceiver?
Date Tue, 21 Jun 2011 09:23:15 GMT
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:users-subscribe@qpid.apache.org


Mime
View raw message