带有蓝图的 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 传输吗?