How would I get access to a broker object or a region object in my client
code? I currently connect to the standalone broker like this (using the
default jndi properties with some new topics):
        // Obtain a JNDI connection
        mJndi = new InitialContext();
 
        // Look up a JMS connection factory
        TopicConnectionFactory conFactory =
        (TopicConnectionFactory)mJndi.lookup("TopicConnectionFactory");
 
        // Create a JMS connection
        TopicConnection connection =
        conFactory.createTopicConnection();

Thanks
--
View this message in context: 
http://www.nabble.com/Getting-a-list-of-active-topics-from-a-JMS-client-t1593110.html#a4328573
Sent from the ActiveMQ - User forum at Nabble.com.

Reply via email to