You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by davsclaus <ci...@yahoo.dk> on 2011/07/10 10:13:32 UTC

Re: Camel/ JMS/ Jboss 4.2.2

You have to get some JBoss JARs with the JMS client. And then use some JBoss
ConnectionFactory class in that XML snippet.

You may check JBoss documentation / google how to do that. Or search this
nabble forum, as some users may have asked this before.

-----
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/
--
View this message in context: http://camel.465427.n5.nabble.com/Camel-JMS-Jboss-4-2-2-tp4568064p4569932.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel/ JMS/ Jboss 4.2.2

Posted by Greg Henry <gh...@lswe.com>.
Hi, 
you should use 
                <property name="jndiName">
                        <value>/ConnectionFactory</value>
                </property>
instead of 
                <property name="jndiName">
                        <value>java:QueueConnectionFactory</value>
                </property>
java: namespace is not usable outside of the server jvm ... 

Using this , i can connect to my jboss 4.2.3 box... 
also you have to put jbossall-client.jar in your classpath .




Regards 
Greg


--
View this message in context: http://camel.465427.n5.nabble.com/Camel-JMS-Jboss-4-2-2-tp4568064p4694064.html
Sent from the Camel - Users mailing list archive at Nabble.com.