[rabbitmq-discuss] dealing with poison-pill messages
Emile Joubert
emile at rabbitmq.com
Wed Mar 21 11:29:37 GMT 2012
Hi John,
On 19/03/12 11:07, john doe wrote:
> What do you think?
You describe a reasonable emulation of toxic message handling. You
should be aware that republishing messages will destroy order, so this
solution is only applicable in scenarios where message ordering is
unimportant.
As an enhancement you could also consider marking the message with a
number instead of a flag to count how many times processing as been
attempted. You could also consider decorating the message with the
consumer identity to distinguish between processing attempts by
different consumers.
-Emile
More information about the rabbitmq-discuss
mailing list