Hello guys,
I have a problem with the following tutorial : Using Apache Camel inside ServiceMix (http://servicemix.apache.org/3-beginner-using-apache-camel-inside-servicemix.html) and especially on the third step, when I have to add a JMS SU.
Indeed, when I'm build the SA and then I deploy it, I had the following exception :
java.lang.ClassNotFoundException: org.apache.activemq.spring.ActiveMQConnectionFactory in classloader org.apache.xbean.spring.context.FileSystemXmlApplicationContext@d7e3ee
This exception comes from the following code :
<jms:provider service="tutorial:jms"
endpoint="provider"
destinationName="tutorial.camel.queue"
connectionFactory="#connectionFactory" />
<jms:consumer service="tutorial:jms"
endpoint="consumer"
destinationName="tutorial.camel.queue"
connectionFactory="#connectionFactory"
targetService="tutorial:jms"
targetEndpoint="consumer" />
<amq:connectionFactory id="connectionFactory" brokerURL="tcp://localhost:61616" />
So how can I add this library (org.apache.activemq.spring.ActiveMQConnectionFactory) to my project/ESB ??
I also try to add camel-spring-javaconfig with a features:install but still the same exception
What can I do ??