[jboss-user] [JBoss Messaging] - Re: How to create Connection object without using JNDI?
linnuxxy
do-not-reply at jboss.com
Mon Jul 30 15:42:12 EDT 2007
Thats what I meant:
| Properties h = new Properties();
| h.put( "java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory");
| h.put( "java.naming.provider.url","jnp://localhost:1099");
| h.put("java.naming.factory.url.pkgs","org.jboss.naming:org.jnp.interfaces");
| InitialContext ctx = new InitialContext(h);
|
I found it in here
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=114325
Thanks for Helping :)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068866#4068866
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068866
More information about the jboss-user
mailing list