【发布时间】:2013-06-13 01:57:59
【问题描述】:
我在 osgi 容器中使用骆驼蓝图和 aries 蓝图。我的配置如下
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:c="http://camel.apache.org/schema/blueprint">
<c:camelContext>
<c:proxy id="myProxySender" serviceInterface="com.cmt.gabs.camel.test.MyInterface" serviceUrl="direct:a" />
<c:route>
<c:from uri="direct:a" />
<c:transform>
<c:simple>Hello ${body}</c:simple>
</c:transform>
<c:to uri="log:org.apache.camel.example?level=ERROR" />
</c:route>
</c:camelContext>
当我启动捆绑包时,它不会给出任何错误,但代理也不是作为服务创建的。如果我做错了什么,请告诉我。
我想为端点 direct:a
使用 Camel 代理编辑 骆驼版 2.11 OSGI 容器 Equinox 3.8
【问题讨论】:
-
你使用什么版本的骆驼?你用什么容器?是阿帕奇卡拉夫吗?
-
我正在使用camel 2.11并使用Equinox作为OSGI容器...
标签: apache-camel blueprint-osgi aries