http://www.jboss.org/index.html?module=bb&op=viewtopic&t=160367
... here you find more information in detail. I think using: // this is from http://activemq.apache.org/jndi-support.html //props.setProperty(Context.INITIAL_CONTEXT_FACTORY,"org.apache.activemq.jndi.ActiveMQInitialContextFactory"); //props.setProperty(Context.PROVIDER_URL,"tcp://localhost:61616"); is ony - if you use the jndi support of activemq - but - I have embedded ActiveMQ in JBoss5 so I think I have to use JNDI support of the JBoss, or ? -- View this message in context: http://www.nabble.com/JNDI-with-ActiveMQ-embedded-in-JBoss-AS-tp25151104p25151104.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.