-
Jun 19th, 2012, 06:47 AM
#1
distinguishing rejected message from expired message
Hi ,
When a consumer throws AmqpRejectAndDontRequeueException, message is reject and delivered to dead letter exchange,
Similarly when the life of the message in queue becomes > x-message-ttl of a queue , messages are again sent to the dead letter exchange,
In such cases how can a dead letter queue consumer distinguish these two condition, Does SI/Spring amqp sets some special header in case of AmqpRejectAndDontRequeueException? Or is there a hook/provision in SI/spring amqp to do such thing?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules