[rabbitmq-discuss] publisher confirm ack nack ordering
    Matthias Radestock 
    matthias at rabbitmq.com
       
    Tue Nov 29 21:49:02 GMT 2011
    
    
  
On 29/11/11 21:31, Jeffrey Chen wrote:
> I am wondering if I have this sequence of publishing:
> 1 success
> 2 success
> 3 fail
> 4 success
> 5 fail
> 6 fail
> 7 success
>
> Will the Ack and the Nack come in the sequence order:
> (1, Ack) -> (2, Ack) -> (3, Nack) -> (4, Ack) -> (5, Nack) -> (6, Nack)
> -> (7, Ack)
>
> Or they could come in a different order?
The latter.
Note that you are very unlikely to ever see nacks. Something would have 
to go seriously, and unexpectedly, wrong. Even with just acks though, 
the server may send them out in any order.
Matthias.
    
    
More information about the rabbitmq-discuss
mailing list