Hi,
We are using the following configuration, it's basically an ordinary jndi
lookup. You need the jboss client jars from your jboss installation to
actually get it working though.
<?xml version="1.0" encoding="UTF-8"?>
<beans>
<jee:jndi-lookup id="jmsConnectionFactory" jndi-name="ConnectionFactory">
<jee:environment>
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.factory.url.pkgs=org.jnp.interfaces
java.naming.provider.url=jnp://jboss-msg-host-ip:port
</jee:environment>
</jee:jndi-lookup>
<bean id="jboss" class="org.apache.camel.component.jms.JmsComponent">
<property name="connectionFactory" ref="jmsConnectionFactory" />
</bean>
<camelContext id='default' xmlns="http://camel.apache.org/schema/spring">
<route>
<from uri="jboss:queue:YourQueue" />
</route>
</camelContext>
</beans>
--
View this message in context:
http://camel.465427.n5.nabble.com/camel-jms-JBoss-Messaging-tp4598676p5722360.html
Sent from the Camel - Users mailing list archive at Nabble.com.