[rabbitmq-discuss] AMQP routing 101 [was Re: Publisher Confirms in mirrored queues]

Matthias Radestock matthias at rabbitmq.com
Thu Jul 19 20:42:18 BST 2012


in future please start a fresh thread when asking a new question.

On 19/07/12 20:03, Prashanth wrote:
> When subscribing to queue I have set the no_ack => 0 and I am
> sending an ack on receiving the message. Is this what I need to do
> for publisher confirm?

Consumers acks have nothing to do with publisher confirms.

I suggest you
read http://www.rabbitmq.com/tutorials/tutorial-two-python.html, in
particular the section on 'Message acknowledgement', to understand the

> Also if i don't send an ack, I receive the next messages in the
> queue. I thought messages will not be sent until previous ack is
> received.

See the 'Fair dispatch' section in the aforementioned tutorials.

> Also no ack messages is not re-transmitted, it is just sitting on
> the queue.

That too is explained in the 'Message acknowledgement' section.



More information about the rabbitmq-discuss mailing list