blob: e6d6d6b08a93f7c349bc1461ba8fbc75828dd701 [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.html">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.html">programmatically</a>.</p>
<p>Finally you could just use the <a shape="rect" href="web-console.html">Web Console</a></p></div>