[jboss-user] [JBoss Messaging] - Re: JBoss Messaging Assistance

jbossbill do-not-reply at jboss.com
Wed Oct 25 22:30:03 EDT 2006

Also, I'd like to note that our application works fine when used with ActiveMQ. We can stop either or both of the JMS Servers and re-start them without having either of them effect each other. 

We use the following properties when connecting to JBoss Messaging Server:

Hashtable properties = new Hashtable();

properties.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
properties.put(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces");
properties.put(Context.PROVIDER_URL, "jnp://localhost:1099");
properties.put(Context.SECURITY_PRINCIPAL, "username");
properties.put(Context.SECURITY_CREDENTIALS, "password");

If you require any further information, please ask for it.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980884#3980884

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980884

More information about the jboss-user mailing list