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-addressandexpiry-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 queueorExpiry Queuein 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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
