[rabbitmq-discuss] Looking for clarification on acknowledgements, channels, and connections

Tony Garnock-Jones tonygarnockjones+rabbitmq at gmail.com
Wed Mar 7 20:18:25 GMT 2012


On 7 March 2012 15:00, Matt Pietrek <mpietrek at skytap.com> wrote:

> My current understanding is "no".
>

Correct. The scope of the delivery-tag field in Basic.Deliver and Basic.Ack
is the channel that the Basic.Deliver appeared on. Once that channel's
closed (either directly, or indirectly through a connection close or TCP
abort), the delivery-tag will no longer be understood by the remote peer:
its scope has ended.

So the question is, after the reconnect, should we even attempt to
> acknowledge messages read from the original connection?
>

No.

(Questions like this highlight some of the reasons why "exactly-once"
delivery isn't really a meaningful feature for messaging middleware to
provide :-) )

Regards,
  Tony

-- 
Tony Garnock-Jones
tonygarnockjones at gmail.com
http://homepages.kcbbs.gen.nz/tonyg/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120307/e130d61e/attachment.htm>


More information about the rabbitmq-discuss mailing list