How can I get a list of the topics and queues in a broker

 FAQ > Using Apache ActiveMQ > How can I get a list of the topics and queues in a broker

How can I get a list of the topics and queues in a broker?

As of 5.1.0 you can use the new DestinationSource on an ActiveMQConnection to access the available queues or topics or listen to queues/topics being created or deleted.

You can use JMX to browse the available topics and queues in a broker together with the connectors and connections along with their statistics etc.

Or you can access statistics programmatically.

Finally you could just use the Web Console

Apache ActiveMQ, ActiveMQ, ActiveMQ Artemis, Apache, the Apache feather logo, and the Apache ActiveMQ project logo are trademarks of The Apache Software Foundation. Copyright © 2019, The Apache Software Foundation. Licensed under Apache License 2.0.