【发布时间】:2020-03-19 22:44:49
【问题描述】:
带有蓝图的 CXF 骆驼运输文档 https://camel.apache.org/components/latest/cxf-transport.html 说,配置看起来像:
客户:
<camel:conduit id="*.camel-conduit" camelContextId="camel1" />
服务器:
<camel:destination id="*.camel-destination" camelContextId="camel1" />
但蓝图投诉:'*.camel-destination' is not a valid value for 'NCname'。 '*.camel-conduit' 也一样。
如果我省略了id 属性,CXF 客户端或 CXF 服务器就会启动。
但是在调用时,它并没有找到 Camel 上下文。
CXF 客户端:
org.apache.camel.component.cxf.transport.CamelConduit 说
IllegalAgumentException "CamelContext must be specified on: conduit:"
CXF 服务器:
org.apache.camel.component.cxf.transport.CamelDestination 说
IllegalAgumentException "CamelContext must be specified on:"
在 Fuse 6.3 上运行。
有人知道我必须如何在蓝图中为 Camel 配置 CXF 传输吗?
【问题讨论】:
标签: apache-camel jbossfuse blueprint camel-cxf