[jboss-user] [JBoss Messaging] - Connecting to JmsXA outside app server
newmanw10
do-not-reply at jboss.com
Wed Jun 10 14:08:24 EDT 2009
I want to insert a jms message into a queue from outside the appserver but I am having problems find JmsXA.
| Properties p = new Properties();
| p.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
| p.put(Context.URL_PROVIDER, ""jnp://myserver:1100");
| InitialContext cxt = new InitialContext(p);
| ConnectionFactory factory = (ConnectionFactory) cxt.lookup("java:/JmsXA");
|
I get a JmsXA name not found exception.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4236807#4236807
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4236807
More information about the jboss-user
mailing list