[rabbitmq-discuss] Custom error message for basic reject

Emile Joubert emile at rabbitmq.com
Tue Apr 10 10:35:57 BST 2012


On 05/04/12 18:22, Nazakat Ali wrote:
> If not possible with basic reject, is it possible to refuse/not acknowledge a message with reason?

Unfortunately not. None of the relevant methods allow you to provide a
reason, or modify the message in any way:


The closest approximation to your requirement would be to acknowledge
the message and to republish with a header that describes the reason.


More information about the rabbitmq-discuss mailing list