Prev Next

Integration / ActiveMQ Interview Questions Basics

What is a Dead Letter Queue in ActiveMQ?

A Dead Letter Queue (DLQ) is a special destination, ActiveMQ.DLQ by default, where messages land after they exceed their configured redelivery attempts or expire without being successfully processed.

Instead of silently dropping a poisoned message, the broker moves it aside so an operator or a dedicated process can inspect, fix, and replay it later.

Messages that land in the DLQ keep their original headers and properties intact, so an operator inspecting them in the web console can usually tell which destination and application they came from, even without checking application logs.

What is the default name of ActiveMQ's dead letter queue?
Why route failed messages to a DLQ instead of dropping them?

More Related questions...

Show more question and Answers...


Comments & Discussions