Closed mxandeco closed 4 years ago
basic.nack
has the same effect as basic.reject
, except it can reject messages in bulk. This is a RabbitMQ extension, see the documentation. So there's no use exposing basic.reject
here, because basic.nack
allows to do the exact same things, and more.
basic.nack
has the same effect asbasic.reject
, except it can reject messages in bulk. This is a RabbitMQ extension, see the documentation. So there's no use exposingbasic.reject
here, becausebasic.nack
allows to do the exact same things, and more.
Oh right, I assumed the reject
had a different meaning based on some issues I am having with DLX, but it's probably have misconfiguration on my queues then bases on that link.
Thanks.
When using manual ack the AcknowledgableDelivery class will offer an
ack
andnack
, delegating toChannel#basicAck
andChannel#ack
, there are cases when rejecting the message is desired.The reject operation is similar from ack/nack and exposed by Channel#reject.
Am I missing a reason that method is not available when using AcknowledgableDelivery, or is just not there yet?