【发布时间】:2020-10-16 17:26:40
【问题描述】:
我正在尝试使用 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>
这意味着我的camel-context.xml 被 Camel 1.x 解析了
有什么方法可以使用我提供的 SA/SU 版本的 Camel?是的,我知道我可以下载 Servicemix,删除现有的 Camel 1.x,然后将我的版本放在那里,但我不想要那些 hack :( 我只需要使用 mvn jbi:servicemix 命令运行它
您可以在http://github.com/splix/smx-currency-rates/tree/skeleton查看此项目的所有来源(pom 等)
【问题讨论】:
标签: apache-camel apache-servicemix fuseesb