I can't see the DLQ in the ActiveMQ management console.How can I get it back ?

Document ID : KB000124465
Last Modified Date : 14/01/2019
Show Technical Document Details
Question:
While managing my ActiveMQ queues, I have noticed that the DQL queue is missing. Since that contains the messages that go nowhere, I believe that queue should be present. How can I make sure ActiveMQ is correctly configured ?
Environment:
CA PAM SC 14.0 and CA PIM 14.0 Windows and Linux
Answer:
Please check activemq-jms-ds.xml file in folder 

JBOSS_HOME\server\default\deploy\jms 

In the bean name JMSProviderLoader, there should be an entry like this : 

queue.queue/DLQ=ActiveMQ.DLQ 

If the above entry is there, then it will auto create queue and messages as and when required. 

If it is not there, then make sure that above line is added. 

Then remove the tmp and work folders in Jboss folder, before restarting the jboss service.