[rabbitmq-discuss] basicReject vs basicNack

Simon MacMullen simon at rabbitmq.com
Fri Feb 14 15:14:16 GMT 2014


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.

Cheers, Simon

-- 
Simon MacMullen
RabbitMQ, Pivotal


More information about the rabbitmq-discuss mailing list