Description
In message queueing a dead letter queue (DLQ) is a service implementation to store messages that the messaging system cannot or should not deliver. Although implementation-specific, messages can be routed to the DLQ for the following reasons:
- The message is sent to a queue that does not exist.
- The maximum queue length is exceeded.
- The message exceeds the size limit.
- The message expires because it reached the TTL (time to live)
- The message is rejected by another queue exchange.
- The message has been read and rejected too many times.
Routing these messages to a dead letter queue enables analysis of common fault patterns and potential software problems. If a message consumer receives a message that it considers invalid, it can instead forward it an Invalid Message Channel, allowing a separation between application-level faults and delivery failures.
Queueing systems that incorporate dead letter queues include Amazon EventBridge, Amazon Simple Queue Service, Apache ActiveMQ, Google Cloud Pub/Sub, HornetQ, Microsoft Message Queuing, Microsoft Azure Event Grid and Azure Service Bus, WebSphere MQ, Solace PubSub+, Rabbit MQ, Apache Kafka and Apache Pulsar.
Dead Letter Queue News
Tags
Collections
No collections available for this topic.