Interface CxfEndpointBuilderFactory.AdvancedCxfEndpointBuilder
-
- All Superinterfaces:
CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder,CxfEndpointBuilderFactory.AdvancedCxfEndpointProducerBuilder,org.apache.camel.builder.EndpointConsumerBuilder,org.apache.camel.EndpointConsumerResolver,org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
- CxfEndpointBuilderFactory
public static interface CxfEndpointBuilderFactory.AdvancedCxfEndpointBuilder extends CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder, CxfEndpointBuilderFactory.AdvancedCxfEndpointProducerBuilder
Advanced builder for endpoint for the CXF component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default CxfEndpointBuilderFactory.AdvancedCxfEndpointBuilderallowStreaming(Boolean allowStreaming)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.default CxfEndpointBuilderFactory.AdvancedCxfEndpointBuilderallowStreaming(String allowStreaming)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.default CxfEndpointBuilderFactory.CxfEndpointBuilderbasic()default CxfEndpointBuilderFactory.AdvancedCxfEndpointBuilderbus(Object bus)To use a custom configured CXF Bus.default CxfEndpointBuilderFactory.AdvancedCxfEndpointBuilderbus(String bus)To use a custom configured CXF Bus.default CxfEndpointBuilderFactory.AdvancedCxfEndpointBuildercontinuationTimeout(long continuationTimeout)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.default CxfEndpointBuilderFactory.AdvancedCxfEndpointBuildercontinuationTimeout(String continuationTimeout)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.default CxfEndpointBuilderFactory.AdvancedCxfEndpointBuildercxfBinding(Object cxfBinding)To use a custom CxfBinding to control the binding between Camel Message and CXF Message.default CxfEndpointBuilderFactory.AdvancedCxfEndpointBuildercxfBinding(String cxfBinding)To use a custom CxfBinding to control the binding between Camel Message and CXF Message.default CxfEndpointBuilderFactory.AdvancedCxfEndpointBuildercxfConfigurer(Object cxfConfigurer)This option could apply the implementation of org.apache.camel.component.cxf.CxfEndpointConfigurer which supports to configure the CXF endpoint in programmatic way.default CxfEndpointBuilderFactory.AdvancedCxfEndpointBuildercxfConfigurer(String cxfConfigurer)This option could apply the implementation of org.apache.camel.component.cxf.CxfEndpointConfigurer which supports to configure the CXF endpoint in programmatic way.default CxfEndpointBuilderFactory.AdvancedCxfEndpointBuilderdefaultBus(boolean defaultBus)Will set the default bus when CXF endpoint create a bus by itself.default CxfEndpointBuilderFactory.AdvancedCxfEndpointBuilderdefaultBus(String defaultBus)Will set the default bus when CXF endpoint create a bus by itself.default CxfEndpointBuilderFactory.AdvancedCxfEndpointBuilderheaderFilterStrategy(String headerFilterStrategy)To use a custom HeaderFilterStrategy to filter header to and from Camel message.default CxfEndpointBuilderFactory.AdvancedCxfEndpointBuilderheaderFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)To use a custom HeaderFilterStrategy to filter header to and from Camel message.default CxfEndpointBuilderFactory.AdvancedCxfEndpointBuildermergeProtocolHeaders(boolean mergeProtocolHeaders)Whether to merge protocol headers.default CxfEndpointBuilderFactory.AdvancedCxfEndpointBuildermergeProtocolHeaders(String mergeProtocolHeaders)Whether to merge protocol headers.default CxfEndpointBuilderFactory.AdvancedCxfEndpointBuildermtomEnabled(boolean mtomEnabled)To enable MTOM (attachments).default CxfEndpointBuilderFactory.AdvancedCxfEndpointBuildermtomEnabled(String mtomEnabled)To enable MTOM (attachments).default CxfEndpointBuilderFactory.AdvancedCxfEndpointBuilderproperties(String key, Object value)To set additional CXF options using the key/value pairs from the Map.default CxfEndpointBuilderFactory.AdvancedCxfEndpointBuilderproperties(Map values)To set additional CXF options using the key/value pairs from the Map.default CxfEndpointBuilderFactory.AdvancedCxfEndpointBuilderskipPayloadMessagePartCheck(boolean skipPayloadMessagePartCheck)Sets whether SOAP message validation should be disabled.default CxfEndpointBuilderFactory.AdvancedCxfEndpointBuilderskipPayloadMessagePartCheck(String skipPayloadMessagePartCheck)Sets whether SOAP message validation should be disabled.-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder
exceptionHandler, exceptionHandler, exchangePattern, exchangePattern
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.CxfEndpointBuilderFactory.AdvancedCxfEndpointProducerBuilder
synchronous, synchronous
-
Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getUri
-
-
-
-
Method Detail
-
basic
default CxfEndpointBuilderFactory.CxfEndpointBuilder basic()
- Specified by:
basicin interfaceCxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder- Specified by:
basicin interfaceCxfEndpointBuilderFactory.AdvancedCxfEndpointProducerBuilder
-
allowStreaming
default CxfEndpointBuilderFactory.AdvancedCxfEndpointBuilder allowStreaming(Boolean allowStreaming)
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. The option is a: <code>java.lang.Boolean</code> type. Group: advanced- Specified by:
allowStreamingin interfaceCxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder- Specified by:
allowStreamingin interfaceCxfEndpointBuilderFactory.AdvancedCxfEndpointProducerBuilder- Parameters:
allowStreaming- the value to set- Returns:
- the dsl builder
-
allowStreaming
default CxfEndpointBuilderFactory.AdvancedCxfEndpointBuilder allowStreaming(String allowStreaming)
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. The option will be converted to a <code>java.lang.Boolean</code> type. Group: advanced- Specified by:
allowStreamingin interfaceCxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder- Specified by:
allowStreamingin interfaceCxfEndpointBuilderFactory.AdvancedCxfEndpointProducerBuilder- Parameters:
allowStreaming- the value to set- Returns:
- the dsl builder
-
bus
default CxfEndpointBuilderFactory.AdvancedCxfEndpointBuilder bus(Object bus)
To use a custom configured CXF Bus. The option is a: <code>org.apache.cxf.Bus</code> type. Group: advanced- Specified by:
busin interfaceCxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder- Specified by:
busin interfaceCxfEndpointBuilderFactory.AdvancedCxfEndpointProducerBuilder- Parameters:
bus- the value to set- Returns:
- the dsl builder
-
bus
default CxfEndpointBuilderFactory.AdvancedCxfEndpointBuilder bus(String bus)
To use a custom configured CXF Bus. The option will be converted to a <code>org.apache.cxf.Bus</code> type. Group: advanced- Specified by:
busin interfaceCxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder- Specified by:
busin interfaceCxfEndpointBuilderFactory.AdvancedCxfEndpointProducerBuilder- Parameters:
bus- the value to set- Returns:
- the dsl builder
-
continuationTimeout
default CxfEndpointBuilderFactory.AdvancedCxfEndpointBuilder continuationTimeout(long continuationTimeout)
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. The option is a: <code>long</code> type. Default: 30000 Group: advanced- Specified by:
continuationTimeoutin interfaceCxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder- Specified by:
continuationTimeoutin interfaceCxfEndpointBuilderFactory.AdvancedCxfEndpointProducerBuilder- Parameters:
continuationTimeout- the value to set- Returns:
- the dsl builder
-
continuationTimeout
default CxfEndpointBuilderFactory.AdvancedCxfEndpointBuilder continuationTimeout(String continuationTimeout)
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. The option will be converted to a <code>long</code> type. Default: 30000 Group: advanced- Specified by:
continuationTimeoutin interfaceCxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder- Specified by:
continuationTimeoutin interfaceCxfEndpointBuilderFactory.AdvancedCxfEndpointProducerBuilder- Parameters:
continuationTimeout- the value to set- Returns:
- the dsl builder
-
cxfBinding
default CxfEndpointBuilderFactory.AdvancedCxfEndpointBuilder cxfBinding(Object cxfBinding)
To use a custom CxfBinding to control the binding between Camel Message and CXF Message. The option is a: <code>org.apache.camel.component.cxf.CxfBinding</code> type. Group: advanced- Specified by:
cxfBindingin interfaceCxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder- Specified by:
cxfBindingin interfaceCxfEndpointBuilderFactory.AdvancedCxfEndpointProducerBuilder- Parameters:
cxfBinding- the value to set- Returns:
- the dsl builder
-
cxfBinding
default CxfEndpointBuilderFactory.AdvancedCxfEndpointBuilder cxfBinding(String cxfBinding)
To use a custom CxfBinding to control the binding between Camel Message and CXF Message. The option will be converted to a <code>org.apache.camel.component.cxf.CxfBinding</code> type. Group: advanced- Specified by:
cxfBindingin interfaceCxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder- Specified by:
cxfBindingin interfaceCxfEndpointBuilderFactory.AdvancedCxfEndpointProducerBuilder- Parameters:
cxfBinding- the value to set- Returns:
- the dsl builder
-
cxfConfigurer
default CxfEndpointBuilderFactory.AdvancedCxfEndpointBuilder cxfConfigurer(Object cxfConfigurer)
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{ServerClient} method of CxfEndpointConfigurer. The option is a: <code>org.apache.camel.component.cxf.CxfConfigurer</code> type. Group: advanced- Specified by:
cxfConfigurerin interfaceCxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder- Specified by:
cxfConfigurerin interfaceCxfEndpointBuilderFactory.AdvancedCxfEndpointProducerBuilder- Parameters:
cxfConfigurer- the value to set- Returns:
- the dsl builder
-
cxfConfigurer
default CxfEndpointBuilderFactory.AdvancedCxfEndpointBuilder cxfConfigurer(String cxfConfigurer)
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{ServerClient} method of CxfEndpointConfigurer. The option will be converted to a <code>org.apache.camel.component.cxf.CxfConfigurer</code> type. Group: advanced- Specified by:
cxfConfigurerin interfaceCxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder- Specified by:
cxfConfigurerin interfaceCxfEndpointBuilderFactory.AdvancedCxfEndpointProducerBuilder- Parameters:
cxfConfigurer- the value to set- Returns:
- the dsl builder
-
defaultBus
default CxfEndpointBuilderFactory.AdvancedCxfEndpointBuilder defaultBus(boolean defaultBus)
Will set the default bus when CXF endpoint create a bus by itself. The option is a: <code>boolean</code> type. Default: false Group: advanced- Specified by:
defaultBusin interfaceCxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder- Specified by:
defaultBusin interfaceCxfEndpointBuilderFactory.AdvancedCxfEndpointProducerBuilder- Parameters:
defaultBus- the value to set- Returns:
- the dsl builder
-
defaultBus
default CxfEndpointBuilderFactory.AdvancedCxfEndpointBuilder defaultBus(String defaultBus)
Will set the default bus when CXF endpoint create a bus by itself. The option will be converted to a <code>boolean</code> type. Default: false Group: advanced- Specified by:
defaultBusin interfaceCxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder- Specified by:
defaultBusin interfaceCxfEndpointBuilderFactory.AdvancedCxfEndpointProducerBuilder- Parameters:
defaultBus- the value to set- Returns:
- the dsl builder
-
headerFilterStrategy
default CxfEndpointBuilderFactory.AdvancedCxfEndpointBuilder headerFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
To use a custom HeaderFilterStrategy to filter header to and from Camel message. The option is a: <code>org.apache.camel.spi.HeaderFilterStrategy</code> type. Group: advanced- Specified by:
headerFilterStrategyin interfaceCxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder- Specified by:
headerFilterStrategyin interfaceCxfEndpointBuilderFactory.AdvancedCxfEndpointProducerBuilder- Parameters:
headerFilterStrategy- the value to set- Returns:
- the dsl builder
-
headerFilterStrategy
default CxfEndpointBuilderFactory.AdvancedCxfEndpointBuilder headerFilterStrategy(String headerFilterStrategy)
To use a custom HeaderFilterStrategy to filter header to and from Camel message. The option will be converted to a <code>org.apache.camel.spi.HeaderFilterStrategy</code> type. Group: advanced- Specified by:
headerFilterStrategyin interfaceCxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder- Specified by:
headerFilterStrategyin interfaceCxfEndpointBuilderFactory.AdvancedCxfEndpointProducerBuilder- Parameters:
headerFilterStrategy- the value to set- Returns:
- the dsl builder
-
mergeProtocolHeaders
default CxfEndpointBuilderFactory.AdvancedCxfEndpointBuilder mergeProtocolHeaders(boolean mergeProtocolHeaders)
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. The option is a: <code>boolean</code> type. Default: false Group: advanced- Specified by:
mergeProtocolHeadersin interfaceCxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder- Specified by:
mergeProtocolHeadersin interfaceCxfEndpointBuilderFactory.AdvancedCxfEndpointProducerBuilder- Parameters:
mergeProtocolHeaders- the value to set- Returns:
- the dsl builder
-
mergeProtocolHeaders
default CxfEndpointBuilderFactory.AdvancedCxfEndpointBuilder mergeProtocolHeaders(String mergeProtocolHeaders)
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. The option will be converted to a <code>boolean</code> type. Default: false Group: advanced- Specified by:
mergeProtocolHeadersin interfaceCxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder- Specified by:
mergeProtocolHeadersin interfaceCxfEndpointBuilderFactory.AdvancedCxfEndpointProducerBuilder- Parameters:
mergeProtocolHeaders- the value to set- Returns:
- the dsl builder
-
mtomEnabled
default CxfEndpointBuilderFactory.AdvancedCxfEndpointBuilder mtomEnabled(boolean mtomEnabled)
To enable MTOM (attachments). This requires to use POJO or PAYLOAD data format mode. The option is a: <code>boolean</code> type. Default: false Group: advanced- Specified by:
mtomEnabledin interfaceCxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder- Specified by:
mtomEnabledin interfaceCxfEndpointBuilderFactory.AdvancedCxfEndpointProducerBuilder- Parameters:
mtomEnabled- the value to set- Returns:
- the dsl builder
-
mtomEnabled
default CxfEndpointBuilderFactory.AdvancedCxfEndpointBuilder mtomEnabled(String mtomEnabled)
To enable MTOM (attachments). This requires to use POJO or PAYLOAD data format mode. The option will be converted to a <code>boolean</code> type. Default: false Group: advanced- Specified by:
mtomEnabledin interfaceCxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder- Specified by:
mtomEnabledin interfaceCxfEndpointBuilderFactory.AdvancedCxfEndpointProducerBuilder- Parameters:
mtomEnabled- the value to set- Returns:
- the dsl builder
-
properties
default CxfEndpointBuilderFactory.AdvancedCxfEndpointBuilder properties(String key, Object value)
To set additional CXF options using the key/value pairs from the Map. For example to turn on stacktraces in SOAP faults, properties.faultStackTraceEnabled=true. The option is a: <code>java.util.Map<java.lang.String, java.lang.Object></code> type. The option is multivalued, and you can use the properties(String, Object) method to add a value (call the method multiple times to set more values). Group: advanced- Specified by:
propertiesin interfaceCxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder- Specified by:
propertiesin interfaceCxfEndpointBuilderFactory.AdvancedCxfEndpointProducerBuilder- Parameters:
key- the option keyvalue- the option value- Returns:
- the dsl builder
-
properties
default CxfEndpointBuilderFactory.AdvancedCxfEndpointBuilder properties(Map values)
To set additional CXF options using the key/value pairs from the Map. For example to turn on stacktraces in SOAP faults, properties.faultStackTraceEnabled=true. The option is a: <code>java.util.Map<java.lang.String, java.lang.Object></code> type. The option is multivalued, and you can use the properties(String, Object) method to add a value (call the method multiple times to set more values). Group: advanced- Specified by:
propertiesin interfaceCxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder- Specified by:
propertiesin interfaceCxfEndpointBuilderFactory.AdvancedCxfEndpointProducerBuilder- Parameters:
values- the values- Returns:
- the dsl builder
-
skipPayloadMessagePartCheck
default CxfEndpointBuilderFactory.AdvancedCxfEndpointBuilder skipPayloadMessagePartCheck(boolean skipPayloadMessagePartCheck)
Sets whether SOAP message validation should be disabled. The option is a: <code>boolean</code> type. Default: false Group: advanced- Specified by:
skipPayloadMessagePartCheckin interfaceCxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder- Specified by:
skipPayloadMessagePartCheckin interfaceCxfEndpointBuilderFactory.AdvancedCxfEndpointProducerBuilder- Parameters:
skipPayloadMessagePartCheck- the value to set- Returns:
- the dsl builder
-
skipPayloadMessagePartCheck
default CxfEndpointBuilderFactory.AdvancedCxfEndpointBuilder skipPayloadMessagePartCheck(String skipPayloadMessagePartCheck)
Sets whether SOAP message validation should be disabled. The option will be converted to a <code>boolean</code> type. Default: false Group: advanced- Specified by:
skipPayloadMessagePartCheckin interfaceCxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder- Specified by:
skipPayloadMessagePartCheckin interfaceCxfEndpointBuilderFactory.AdvancedCxfEndpointProducerBuilder- Parameters:
skipPayloadMessagePartCheck- the value to set- Returns:
- the dsl builder
-
-