The documentation you're pointing is for Camel 3, latest.

You need to refer to Fuse documentation for Red Hat Fuse. Don't mix the two
different docs.

Il giorno lun 23 mar 2020 alle ore 17:56 Hans-Juergen May <
hans.juergen....@gmail.com> ha scritto:

> 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