2 Replies Latest reply on Jul 14, 2011 6:09 AM by rafal.janik

    JMSTemplate NoClassDefFoundError in FUSE ESB 3.6

    rafal.janik

      Hi

       

      I'm trying to create a jbi component jms-su  based on servicemix-jms-service-unit.

       

      in xbean.xml there is :

       

       

          <jms:provider service="test:jms"

                        endpoint="provider"

                        destinationName="tutorial.camel.queue"

                        connectionFactory="#connectionFactory" />

       

          <jms:consumer service="test:jms"

                     endpoint="consumer"

                     destinationName="tutorial.camel.queue"

                     connectionFactory="#connectionFactory"

                     targetService="tutorial:jms"

                     targetEndpoint="consumer" />

       

          <amq:connectionFactory id="connectionFactory" brokerURL="tcp://localhost:61616" />

       

       

      but in console I get ;

      Caused by: java.lang.ClassNotFoundException: org.springframework.jms.core.JmsTemplate in classloader Component ClassLoader

       

       

      Is there a possibility to add spring-jms class (with missing class) to servicemix/component to be visible on a class path ?

      Or there is other solution ?

       

       

      regards

       

       

      rafal