[rabbitmq-discuss] Dead Lettering queries
Kwstantinos Polydwrou
kpoly84 at gmail.com
Fri Apr 19 11:40:40 BST 2013
So this would mean that I need a mechanism on my Consumer side (application
B) which will do the following:
- rejecting the message (based on some logic) and
- setting the requeue flag to false.
Thanks for the insight Emile, much appreciated.
K.
On 19 April 2013 12:27, Emile Joubert <emile at rabbitmq.com> wrote:
>
> Hi,
>
> On 19/04/13 11:17, Kwstantinos Polydwrou wrote:
> > 4. Application B throws an NPE during the processing.
> You don't need dead-lettering for this scenario. If Application B
> crashes while processing an unacknowledged message then that message
> will be returned to the queue and will be redelivered when Application B
> restarts.
>
> See the section on message acknowledgement in the second tutorial at
> http://www.rabbitmq.com/tutorials/tutorial-two-python.html
>
> Dead-lettering is applicable when a message is rejected with the requeue
> flag set to false; or if a message expires.
>
>
>
> -Emile
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130419/4a60ac4b/attachment.htm>
More information about the rabbitmq-discuss
mailing list