[rabbitmq-discuss] Unable to read the last published message
emile at rabbitmq.com
Tue Dec 11 10:17:10 GMT 2012
On 11/12/12 03:35, antonypulicken wrote:
> I tried setting autodelete to false, sending a Nack with requeue as 'true',
> but then it gets in to a infinite loop..Please let me know your thoughts...
You could inspect the "redelivered" flag of the message. If this flag is
set then the message may have been delivered before. Adding this
ingredient to your logic may allow you to escape the infinite loop.
More information about the rabbitmq-discuss