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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...