Defines the CXF Endpoint. It contains a list of properties for CXF endpoint including {@link DataFormat}, {@link CxfBinding}, and {@link HeaderFilterStrategy}. The default DataFormat mode is {@link DataFormat#POJO}.
Name | Kind | Type | Required | Deprecated | Default Value | Enum Values | Description |
---|---|---|---|---|---|---|---|
bus | path | org.apache.cxf.Bus | false | To use a custom configured CXF Bus. | |||
beanId | path | java.lang.String | false | To lookup an existing configured CxfEndpoint. Must used bean: as prefix. | |||
address | path | java.lang.String | false | The service publish address. | |||
wsdlURL | parameter | java.lang.String | false | The location of the WSDL. Can be on the classpath, file system, or be hosted remotely. | |||
portName | parameter | java.lang.String | false | The endpoint name this service is implementing, it maps to the wsdl:port@name. In the format of ns:PORT_NAME where ns is a namespace prefix valid at this scope. | |||
serviceName | parameter | java.lang.String | false | The service name this service is implementing, it maps to the wsdl:service@name. | |||
defaultOperationName | parameter | java.lang.String | false | This option will set the default operationName that will be used by the CxfProducer which invokes the remote service. | |||
defaultOperationNamespace | parameter | java.lang.String | false | This option will set the default operationNamespace that will be used by the CxfProducer which invokes the remote service. | |||
wrapped | parameter | boolean | false | Which kind of operation that CXF endpoint producer will invoke | |||
wrappedStyle | parameter | java.lang.Boolean | false | The WSDL style that describes how parameters are represented in the SOAP body. If the value is false, CXF will chose the document-literal unwrapped style, If the value is true, CXF will chose the document-literal wrapped style | |||
allowStreaming | parameter | java.lang.Boolean | false | This option controls whether the CXF component, when running in PAYLOAD mode, will DOM parse the incoming messages into DOM Elements or keep the payload as a javax.xml.transform.Source object that would allow streaming in some cases. | |||
dataFormat | parameter | org.apache.camel.component.cxf.DataFormat | false | POJO | PAYLOAD RAW MESSAGE CXF_MESSAGE POJO |
The data type messages supported by the CXF endpoint. | |
publishedEndpointUrl | parameter | java.lang.String | false | This option can override the endpointUrl that published from the WSDL which can be accessed with service address url plus ?wsd | |||
cxfBinding | parameter | org.apache.camel.component.cxf.CxfBinding | false | To use a custom CxfBinding to control the binding between Camel Message and CXF Message. | |||
headerFilterStrategy | parameter | org.apache.camel.spi.HeaderFilterStrategy | false | To use a custom HeaderFilterStrategy to filter header to and from Camel message. | |||
defaultBus | parameter | boolean | false | Will set the default bus when CXF endpoint create a bus by itself | |||
loggingFeatureEnabled | parameter | boolean | false | This option enables CXF Logging Feature which writes inbound and outbound SOAP messages to log. | |||
loggingSizeLimit | parameter | int | false | 49152 | To limit the total size of number of bytes the logger will output when logging feature has been enabled and -1 for no limit. | ||
mtomEnabled | parameter | boolean | false | To enable MTOM (attachments). This requires to use POJO or PAYLOAD data format mode. | |||
skipPayloadMessagePartCheck | parameter | boolean | false | Sets whether SOAP message validation should be disabled. | |||
skipFaultLogging | parameter | boolean | false | This option controls whether the PhaseInterceptorChain skips logging the Fault that it catches. | |||
mergeProtocolHeaders | parameter | boolean | false | Whether to merge protocol headers. If enabled then propagating headers between Camel and CXF becomes more consistent and similar. For more details see CAMEL-6393. | |||
bindingId | parameter | java.lang.String | false | The bindingId for the service model to use. | |||
cxfEndpointConfigurer | parameter | org.apache.camel.component.cxf.CxfEndpointConfigurer | false | This option could apply the implementation of org.apache.camel.component.cxf.CxfEndpointConfigurer which supports to configure the CXF endpoint in programmatic way. User can configure the CXF server and client by implementing configure{Server|Client} method of CxfEndpointConfigurer. | |||
continuationTimeout | parameter | long | false | 30000 | This option is used to set the CXF continuation timeout which could be used in CxfConsumer by default when the CXF server is using Jetty or Servlet transport. | ||
username | parameter | java.lang.String | false | This option is used to set the basic authentication information of username for the CXF client. | |||
password | parameter | java.lang.String | false | This option is used to set the basic authentication information of password for the CXF client. | |||
exchangePattern | parameter | org.apache.camel.ExchangePattern | false | InOnly | InOnly RobustInOnly InOut InOptionalOut OutOnly RobustOutOnly OutIn OutOptionalIn |
Sets the default exchange pattern when creating an exchange | |
synchronous | parameter | boolean | false | false | Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). |
A Consumer of exchanges for a service in CXF. CxfConsumer acts a CXF service to receive requests, convert them, and forward them to Camel route for processing. It is also responsible for converting and sending back responses to CXF client.