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 188.8.131.52
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
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.