The Documentation of Camel transport for CXF

https://camel.apache.org/components/latest/cxf-transport.html

says, the configuration of Camel transport for CXF with with blueprint
looks like:

client:
<camel:conduit id="*.camel-conduit" camelContextId="camel1" />

server:
<camel:destination id="*.camel-destination" camelContextId="camel1" />

But Blueprint complaints:

'*.camel-destination' is not a valid value for 'NCname'.

Same for '*.camel-conduit' .

If I leave out the id attribute, the CXF client or CXF server starts
up. But when called, it doesn't find the Camel context.

As CXF client, org.apache.camel.component.cxf.transport.CamelConduit says

IllegalAgumentException "CamelContext must be specified on: conduit:"

As CXF server, org.apache.camel.component.cxf.transport.CamelDestination says

IllegalAgumentException "CamelContext must be specified on:"

The config attribute "name", that is used with Spring XML for CXF
Camel transport, is also not working. Here the error message:

Attribute 'name' is not allowed to appear in element 'conduit'

Running on Camel 2.17.0 / Fuse 6.3.

Does anybody know how I must configure CXF transport for Camel in Blueprint?

Reply via email to