Name | Description | Example | Required? | Default Value |
---|
wsdlURL | The location of the WSDL. | file://local/wsdl/hello.wsdl or wsdl/hello.wsdl | No | WSDL is obtained from endpoint address by default. |
serviceClass | The name of the SEI (Service Endpoint Interface) class. This class can have, but does not require, JSR181 annotations. Since 2.0, this option is only required by POJO mode. If the wsdlURL option is provided, serviceClass is not required for PAYLOAD and MESSAGE mode.
Since 2.0, it is possible to use # notation to reference a serviceClass object instance from the registry. E.g. serviceClass=#beanName .
Please be advised that the referenced object cannot be a Proxy (Spring AOP Proxy is OK) as it relies on Object.getClass().getName() method for non Spring AOP Proxy.
| org.apache.camel.Hello | Yes | |
serviceClassInstance | In 1.6 or later (will be deprecated in 2.0), serviceClassInstance works like serviceClass=#beanName , which looks up a serviceObject instance from the registry. | serviceClassInstance=beanName | No (use either serviceClass or serviceClassInstance ) | |
serviceName | The service name this service is implementing, it maps to the wsdl:service@name . | {http://org.apache.camel}ServiceName | Only if more than one serviceName in WSDL present | |
portName | The port name this service is implementing, it maps to the wsdl:port@name . | {http://org.apache.camel}PortName | Only if more than one portName under the serviceName is present | |
dataFormat | Which data type messages the CXF endpoint supports | POJO , PAYLOAD , MESSAGE | No | POJO |
relayHeaders | Available since 1.6.1. Please see the Description of relayHeaders option section for this option in 2.0. Should a CXF endpoint relay headers along the route. Currently only available when dataFormat=POJO | true , false | No | true |
wrapped | Which kind of operation that CXF endpoint producer will invoke | true , false | No | false |
setDefaultBus | Will set the default bus when CXF endpoint create a bus by itself | true , false | No | false |
bus | New in 2.0, use # notation to reference a bus object from the registry. The referenced object must be an instance of org.apache.cxf.Bus .
| bus=#busName | No | Default bus created by CXF Bus Factory
|
cxfBinding | New in 2.0, use # notation to reference a CXF binding object from the registry. The referenced object must be an instance of org.apache.camel.component.cxf.CxfBinding . | cxfBinding=#bindingName
| No
| An instance of org.apache.camel.component.cxf.DefaultCxfBinding
|
headerFilterStrategy | New in 2.0, use # notation to reference a header filter strategy object from the registry. The referenced object must be an instance of org.apache.camel.spi.HeaderFilterStrategy . | headerFilterStrategy=#strategyName | No
| An instance of org.apache.camel.component.cxf.CxfHeaderFilterStrategy
|