Girish Mahajan (Editor)

Dead letter queue

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit

In message queueing the dead letter queue is a service implementation to store messages that meet one or more of the following criteria :

  1. Message that is sent to a queue that does not exist.
  2. Queue length limit exceeded.
  3. Message length limit exceeded.
  4. Message is rejected by another queue exchange.
  5. Message reaches a threshold read counter number, because it is not consumed. Sometimes this is called a "back out queue".

Dead letter queue storing of these messages allows developers to look for common patterns and potential software problems.

Queueing systems that incorporate dead letter queues include Microsoft Message Queuing, WebSphere MQ, Amazon Simple Queue Service. HornetQ and Apache ActiveMQ

References

Dead letter queue Wikipedia