Dead Letter Queue

Status: Skeleton — under review.
Scope: DLQ patterns for SAP event-driven and messaging integrations.

What it is

A Dead Letter Queue (DLQ) is a secondary queue that receives messages after they have failed processing in the primary queue beyond a configured max retry limit. It isolates poison-pill messages so they do not block healthy messages.

When to use it

When not to use it

SAP landscape fit

Design decisions

Decision Recommendation
Max retries 3-5 attempts with exponential backoff
DLQ retention Longer than source queue (e.g., 14 days vs 7 days)
Alerting Alert on DLQ depth > 0 and message age > 1 hour
Redrive Manual inspection → fix root cause → replay or discard
Audit Log all DLQ insertions with failure reason and original trace ID

Operational failure modes

Monitoring/support model

Ownership model

AMS incident patterns

AI/agent opportunity

Source references

Verification limitations