blob: 7f162b6a8f79feb42e81aa8006682b20ed636c49 [file] [log] [blame]
<div class="wiki-content maincontent"><h2 id="HowcanIgetalistofthetopicsandqueuesinabroker-HowcanIgetalistofthetopicsandqueuesinabroker?">How can I get a list of the topics and queues in a broker?</h2>
<p>As of 5.1.0 you can use the new <a shape="rect" class="external-link" href="http://activemq.apache.org/maven/activemq-core/apidocs/org/apache/activemq/advisory/DestinationSource.html">DestinationSource</a> on an ActiveMQConnection to access the available queues or topics or listen to queues/topics being created or deleted.</p>
<p>You can use <a shape="rect" href="jmx.xml">JMX</a> to browse the available topics and queues in a broker together with the connectors and connections along with their statistics etc.</p>
<p>Or you can access statistics <a shape="rect" href="how-can-i-see-what-destinations-are-used.xml">programmatically</a>.</p>
<p>Finally you could just use the <a shape="rect" href="web-console.xml">Web Console</a></p></div>