1 Reply Latest reply on Dec 13, 2009 8:00 PM by njiang

    Apache Camel 2.x and FUSE Servicemix 3.x/4

    splix2

      I'm trying to run Camel 2.1 SU with Servicemix. As i understand there are no way to run Camel 2 with Servicemix 3, and i'm try to run it with FUSE Servicemix 4.0.0.1

       

      When i starting my project with maven: mvn jbi:servicemix i receive following error:

       

      unexpected element (uri:"http://camel.apache.org/schema/spring", local:"camelContext"). Expected elements are <aggregator>

       

      That means that my camel-context.xml was parsed by Camel 1.x

       

      Is there any way to use my, provided with SA/SU, version of Camel? Yes, i know that I can download Servicemix, remove existing Camel 1.x, and place there my version, but I don't want that hacks I need to run this using mvn jbi:servicemix command only

       

      You can view all sources (poms, etc) of this project at http://github.com/splix/smx-currency-rates/tree/skeleton

        • 1. Re: Apache Camel 2.x and FUSE Servicemix 3.x/4
          njiang

          Hi

           

          I don't think you can use Camel 2.x on Fuse ESB 4.0.1 or 4.0.2, as the servicemix-camel components which are shipped with these two version are still use Camel 1.6.x.

           

          With the coming up Fuse ESB 4.1 RC1, we support Camel 2.x out of box.

           

          Willem