[rabbitmq-discuss] basicReject vs basicNack

Matthias Radestock matthias at rabbitmq.com
Fri Feb 14 15:16:35 GMT 2014


On 14/02/14 15:14, Simon MacMullen wrote:
> On 14/02/2014 3:05PM, cw storm wrote:
>> I would like know when you would use basicReject over basicNack.  Which
>> is prefer.
>
> They're nearly identical. basic.reject was in the original AMQP spec,
> and we introduced basic.nack as an extension - but the only difference
> between them is that basic.nack has a "multiple" flag that works like
> the one in basic.ack.

See also http://www.rabbitmq.com/nack.html, which says pretty much the 
same thing, and is the first hit when searching on our web site for 
'basic.nack' ;)

Matthias


More information about the rabbitmq-discuss mailing list