Where is DLQ queue or ExpireQueue in JBoss EAP 6
Issue
- In JBoss EAP 6 HornetQ configuration the address setting makes references to
dead-letter-address
andexpiry-address
. It defines them as:
"dead-letter-address" => "jms.queue.DLQ",
"expiry-address" => "jms.queue.ExpiryQueue",
but those two destination do not exist.
- How to create
DLQ queue
orExpiry Queue
in JBoss EAP 6 ? - We are testing a HornetQ implementation in our Stress environment and are finding that many of our messages are getting placed in our configured dead letter queue. However, it does not seem any of our application logic to consume the message is being executed. When we enabled the HornetQ logs, we see that there is only ~120ms between when the message is delivered to the original queue vs. when it is sent to the dead letter queue, even though we have max-delivery-attempts set to 3 and redelivery-delay of 3000.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.