The ConnectionFactory is available for you in the JNDI. You just have to lookup the same as follows:
| Context iniCtx = new InitialContext(); | QueueConnectionFactory qf = (QueueConnectionFactory) iniCtx.lookup("ConnectionFactory"); Both the TopicConnectionFactory and the QueueConnectionFactory are available with the same jndi-name "ConnectionFactory". For more details have a look at http://docs.jboss.org/jbossas/jboss4guide/r1/html/ch6.chapt.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110536#4110536 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110536 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user