我正在尝试使用 Servicemix 运行 Camel 2.1 SU。据我了解,无法使用 Servicemix 3 运行 Camel 2,我正在尝试使用 FUSE Servicemix 4.0.0.1 运行它
当我用 maven 开始我的项目时:mvn jbi:servicemix
我收到以下错误:
unexpected element (uri:"http://camel.apache.org/schema/spring", local:"camelContext"). Expected elements are <{http://activemq.apache.org/camel/schema/spring}aggregator>
这意味着 mycamel-context.xml
已被 Camel 1.x 解析
有什么方法可以使用我提供的 SA/SU 版本的 Camel?是的,我知道我可以下载 Servicemix,删除现有的 Camel 1.x,然后将我的版本放在那里,但我不想要那些 hacks :( 我mvn jbi:servicemix
只需要使用命令运行它
您可以在http://github.com/splix/smx-currency-rates/tree/skeleton 查看该项目的所有来源(poms 等)