get all queue names for activemq in java
<p>I'm trying to get all the names of the queues for activeMQ in java, I found couple topics <a href="https://stackoverflow.com/questions/24385942/get-list-of-queue-names-in-activemq">here</a> and <a href="https://stackoverflow.com/questions/24212496/is-it-possible-to-get-a-list-of-queues-on-a-remote-broker">here</a> about that and people suggested using <a href="http://activemq.apache.org/maven/apidocs/org/apache/activemq/advisory/DestinationSource.html" rel="nofollow noreferrer">DestinationSource</a> which I wasn't able to import in Eclipse when I was writing the code. I tried:</p>

<pre><code>import org.apache.activemq.advisory.DestinationSource;
</code></pre>

<p>I'm using java 1.7 and latest activemq version 5.14.1. Any ideas if destinationsource is still supported or not? 
Thanks,</p>