A dead letter queue (DLQ) hija fejn tmur il-messaġġi meta ma jistgħux jiġu pproċessati jew jaqblu kundizzjonijiet ċerti (miċ-ċekk, skaduti, queue mielen). Id-DLQs jipprevjenu li messaġġi problematici jitilfu jew jibblokka l-pproċessament, u jippermettu l-ispezzjoni u t-tindirizzjoni aktar tard.
X'inhija dead letter queue
DEAD LETTER QUEUE → a queue that receives messages that couldn't be delivered/processed
normally:
→ messages are "dead-lettered" (routed to the DLQ) when they:
- are REJECTED/nacked (consumer can't process them) without requeue
- EXPIRE (message TTL exceeded)
- exceed the queue's MAX LENGTH (overflow)
→ the DLQ collects these for inspection/handling instead of losing them
→ a "holding area" for problematic messages
