On 5/10/06, chris24 <[EMAIL PROTECTED]> wrote:
Hello, I have a Java client connecting directly to the broker and am wondering how I can get a list of topics currently on the broker? I assume the solution will involve jndi (would this get dynamic topics?). Thanks,
The easiest way is to use JMX http://activemq.org/JMX though you can also get all of the active destinations from the broker http://activemq.codehaus.org/maven/apidocs/org/apache/activemq/broker/Broker.html#getDestinations() http://activemq.codehaus.org/maven/apidocs/org/apache/activemq/broker/region/Region.html#getDestinationMap() -- James ------- http://radio.weblogs.com/0112098/
