try the JNDI javadoc http://java.sun.com/j2se/1.5.0/docs/api/javax/naming/InitialContext.html#list(java.lang.String)
or a Sun tutorial on JNDI On 3/22/07, new2activemq <[EMAIL PROTECTED]> wrote:
Hi, I am trying to write a debug tool where as a user, I do not know the topicNames that exist. Normally, if I knew the topic name, I could just do this: myContext.lookup(jndiName) where jndiName is the topicName Is there a way I can pass in an argument, or a wildcard argument that will look up all the topicNames that exist? Or is it possible that there is an all different way to do this? Any help will be greatly appreciated. Thanks! -- View this message in context: http://www.nabble.com/how-to-lookup-a-topicName-dynamically-tf3449350s2354.html#a9620849 Sent from the ActiveMQ - User mailing list archive at Nabble.com.
-- James ------- http://radio.weblogs.com/0112098/