Interface CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
- All Known Subinterfaces:
CxfEndpointBuilderFactory.AdvancedCxfEndpointBuilder
- Enclosing interface:
- CxfEndpointBuilderFactory
public static interface CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder extends org.apache.camel.builder.EndpointConsumerBuilder
Advanced builder for endpoint consumers for the CXF component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder
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.default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder
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.default CxfEndpointBuilderFactory.CxfEndpointConsumerBuilder
basic()
default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder
bus(Object bus)
To use a custom configured CXF Bus.default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder
bus(String bus)
To use a custom configured CXF Bus.default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder
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.default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder
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.default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder
cxfBinding(Object cxfBinding)
To use a custom CxfBinding to control the binding between Camel Message and CXF Message.default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder
cxfBinding(String cxfBinding)
To use a custom CxfBinding to control the binding between Camel Message and CXF Message.default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder
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.default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder
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.default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder
defaultBus(boolean defaultBus)
Will set the default bus when CXF endpoint create a bus by itself.default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder
defaultBus(String defaultBus)
Will set the default bus when CXF endpoint create a bus by itself.default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder
exceptionHandler(String exceptionHandler)
To let the consumer use a custom ExceptionHandler.default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder
exceptionHandler(org.apache.camel.spi.ExceptionHandler exceptionHandler)
To let the consumer use a custom ExceptionHandler.default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder
exchangePattern(String exchangePattern)
Sets the exchange pattern when the consumer creates an exchange.default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder
exchangePattern(org.apache.camel.ExchangePattern exchangePattern)
Sets the exchange pattern when the consumer creates an exchange.default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder
headerFilterStrategy(String headerFilterStrategy)
To use a custom HeaderFilterStrategy to filter header to and from Camel message.default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder
headerFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
To use a custom HeaderFilterStrategy to filter header to and from Camel message.default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder
mergeProtocolHeaders(boolean mergeProtocolHeaders)
Whether to merge protocol headers.default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder
mergeProtocolHeaders(String mergeProtocolHeaders)
Whether to merge protocol headers.default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder
mtomEnabled(boolean mtomEnabled)
To enable MTOM (attachments).default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder
mtomEnabled(String mtomEnabled)
To enable MTOM (attachments).default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder
properties(String key, Object value)
To set additional CXF options using the key/value pairs from the Map.default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder
properties(Map values)
To set additional CXF options using the key/value pairs from the Map.default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder
skipPayloadMessagePartCheck(boolean skipPayloadMessagePartCheck)
Sets whether SOAP message validation should be disabled.default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder
skipPayloadMessagePartCheck(String skipPayloadMessagePartCheck)
Sets whether SOAP message validation should be disabled.default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder
synchronous(boolean synchronous)
Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder
synchronous(String synchronous)
Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).
-
-
-
Method Detail
-
basic
default CxfEndpointBuilderFactory.CxfEndpointConsumerBuilder basic()
-
exceptionHandler
default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder exceptionHandler(org.apache.camel.spi.ExceptionHandler exceptionHandler)
To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option is a:org.apache.camel.spi.ExceptionHandler
type. Group: consumer (advanced)
-
exceptionHandler
default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder exceptionHandler(String exceptionHandler)
To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option will be converted to aorg.apache.camel.spi.ExceptionHandler
type. Group: consumer (advanced)
-
exchangePattern
default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder exchangePattern(org.apache.camel.ExchangePattern exchangePattern)
Sets the exchange pattern when the consumer creates an exchange. The option is a:org.apache.camel.ExchangePattern
type. Group: consumer (advanced)
-
exchangePattern
default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder exchangePattern(String exchangePattern)
Sets the exchange pattern when the consumer creates an exchange. The option will be converted to aorg.apache.camel.ExchangePattern
type. Group: consumer (advanced)
-
allowStreaming
default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder 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:java.lang.Boolean
type. Group: advanced
-
allowStreaming
default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder 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 ajava.lang.Boolean
type. Group: advanced
-
bus
default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder bus(Object bus)
To use a custom configured CXF Bus. The option is a:org.apache.cxf.Bus
type. Group: advanced
-
bus
default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder bus(String bus)
To use a custom configured CXF Bus. The option will be converted to aorg.apache.cxf.Bus
type. Group: advanced
-
continuationTimeout
default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder 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:long
type. Default: 30000 Group: advanced
-
continuationTimeout
default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder 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 along
type. Default: 30000 Group: advanced
-
cxfBinding
default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder cxfBinding(Object cxfBinding)
To use a custom CxfBinding to control the binding between Camel Message and CXF Message. The option is a:org.apache.camel.component.cxf.CxfBinding
type. Group: advanced
-
cxfBinding
default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder cxfBinding(String cxfBinding)
To use a custom CxfBinding to control the binding between Camel Message and CXF Message. The option will be converted to aorg.apache.camel.component.cxf.CxfBinding
type. Group: advanced
-
cxfConfigurer
default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder 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:org.apache.camel.component.cxf.CxfConfigurer
type. Group: advanced
-
cxfConfigurer
default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder 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 aorg.apache.camel.component.cxf.CxfConfigurer
type. Group: advanced
-
defaultBus
default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder defaultBus(boolean defaultBus)
Will set the default bus when CXF endpoint create a bus by itself. The option is a:boolean
type. Default: false Group: advanced
-
defaultBus
default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder defaultBus(String defaultBus)
Will set the default bus when CXF endpoint create a bus by itself. The option will be converted to aboolean
type. Default: false Group: advanced
-
headerFilterStrategy
default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder headerFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
To use a custom HeaderFilterStrategy to filter header to and from Camel message. The option is a:org.apache.camel.spi.HeaderFilterStrategy
type. Group: advanced
-
headerFilterStrategy
default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder headerFilterStrategy(String headerFilterStrategy)
To use a custom HeaderFilterStrategy to filter header to and from Camel message. The option will be converted to aorg.apache.camel.spi.HeaderFilterStrategy
type. Group: advanced
-
mergeProtocolHeaders
default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder 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:boolean
type. Default: false Group: advanced
-
mergeProtocolHeaders
default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder 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 aboolean
type. Default: false Group: advanced
-
mtomEnabled
default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder mtomEnabled(boolean mtomEnabled)
To enable MTOM (attachments). This requires to use POJO or PAYLOAD data format mode. The option is a:boolean
type. Default: false Group: advanced
-
mtomEnabled
default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder mtomEnabled(String mtomEnabled)
To enable MTOM (attachments). This requires to use POJO or PAYLOAD data format mode. The option will be converted to aboolean
type. Default: false Group: advanced
-
properties
default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder 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:java.util.Map<java.lang.String, java.lang.Object>
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
-
properties
default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder 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:java.util.Map<java.lang.String, java.lang.Object>
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
-
skipPayloadMessagePartCheck
default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder skipPayloadMessagePartCheck(boolean skipPayloadMessagePartCheck)
Sets whether SOAP message validation should be disabled. The option is a:boolean
type. Default: false Group: advanced
-
skipPayloadMessagePartCheck
default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder skipPayloadMessagePartCheck(String skipPayloadMessagePartCheck)
Sets whether SOAP message validation should be disabled. The option will be converted to aboolean
type. Default: false Group: advanced
-
synchronous
default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder synchronous(boolean synchronous)
Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). The option is a:boolean
type. Default: false Group: advanced
-
synchronous
default CxfEndpointBuilderFactory.AdvancedCxfEndpointConsumerBuilder synchronous(String synchronous)
Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). The option will be converted to aboolean
type. Default: false Group: advanced
-
-