You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by msharee9 <ms...@gmail.com> on 2018/09/28 03:07:20 UTC

Qpid C++ session.release behavior

Hi 

A quick question abiut the release method. The API doc says that the broker
MAY redeliver a released message. Does this mean the message is not
guaranteed to be redelivered? 

What is the behavior of broker in case of multiple consumers trying to fetch
from the same queue when broker redelivers a released message from one of
the consumers?



--
Sent from: http://qpid.2158936.n2.nabble.com/Apache-Qpid-users-f2158936.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org


Re: Qpid C++ session.release behavior

Posted by Gordon Sim <gs...@redhat.com>.
On 28/09/18 04:07, msharee9 wrote:
> Hi
> 
> A quick question abiut the release method. The API doc says that the broker
> MAY redeliver a released message. Does this mean the message is not
> guaranteed to be redelivered?

That depends on the broker being used.

For the c++ broker, at present it will always be delivered. In theory it 
could eventually decide to dead-letter the message, but in practice the 
c++ broker does not do that at this time.

> What is the behavior of broker in case of multiple consumers trying to fetch
> from the same queue when broker redelivers a released message from one of
> the consumers?

Again that depends on the broker being used. The c++ broker will 
effectively return the message to the queue to be consumed by any of the 
currently active consumers.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org