Dead Letter Queue
Updated 2026-08-02
Summary
A holding queue for messages that cannot be processed, so failed items are preserved for later analysis or retry instead of being discarded.
Definition
In messaging systems, a dead letter queue receives messages that repeatedly fail, whether because of malformed content, a rejected recipient, or exhausted retries. Keeping them isolates the failure so it cannot block healthy traffic, and it preserves the evidence needed to find the root cause. The same design appears in management as an exception file where cases that no process can handle are parked for review.
Introduction
How to use
- Isolate the failure: move unprocessable items aside so they stop blocking the healthy flow - Preserve the evidence: keep every failed case intact for root-cause analysis instead of discarding it - Close the loop: review the queue on a schedule and replay or retire items deliberately
Mechanism
A message that keeps failing would otherwise be retried forever or dropped silently. Routing it to a separate queue removes it from the main flow, which protects throughput, and retains the payload so the cause can be diagnosed later. Failure thus becomes a stored artifact instead of a lost event.
Practice
In progress 0/1Practice this model in one real situation:
Cases
- Message brokers park undeliverable messages in a dead letter queue so one bad payload cannot stall the topic.
- Service desks that keep an exception file for cases no standard process handles surface recurring defects that would otherwise be invisible.
Common pitfalls
- Discarding failed items and losing the only evidence of what went wrong.
- Letting the dead letter queue accumulate without review, so failures pile up unexamined.
Sources
Source support: Explicit
References currently contain only Wikipedia links; primary sources still need review.
- en.wikipedia.orghttps://en.wikipedia.org/wiki/Dead_letter_queueverified
account_treeGenealogyexpand_more
PRIVATE NOTES · Only visible to you
SAVED Q&A
ENTRY Q&A · Private saving available
Ask with a clear boundary
thinkingmodels answers from published entry context only.
Your question is sent to thinkingmodels. The answer uses public entry context only.
RELATED MODELS