Dead letter queue


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 Amazon Simple Queue Service, Apache ActiveMQ, HornetQ, Microsoft Message Queuing, Microsoft Azure Event Grid and Azure Service Bus, WebSphere MQ, Rabbit MQ and Apache Pulsar,