[rabbitmq-discuss] AutoAck issue

Simon MacMullen simon at rabbitmq.com
Thu May 30 13:59:23 BST 2013


On 30/05/13 13:38, Adam Morgan wrote:
> Despite this, my publisher/ConfirmListener is receiving an ack as soon
> as my consumer receives the message.  Repeat, my consumer client has NOT
> yet called basicAck(), but my publisher/ConfirmListener callback is made.

Your publisher will receive an ack as soon as your RabbitMQ broker has 
taken responsibility for the message; not as soon as a consumer has.

Otherwise you would not be decoupling very well :-)

See http://www.rabbitmq.com/reliability.html

Cheers, Simon

-- 
Simon MacMullen
RabbitMQ, Pivotal


More information about the rabbitmq-discuss mailing list