Interface CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointBuilder
-
- All Superinterfaces:
CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointConsumerBuilder
,CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointProducerBuilder
,org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
,org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
- CxfRsEndpointBuilderFactory
public static interface CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointBuilder extends CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointConsumerBuilder, CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointProducerBuilder
Advanced builder for endpoint for the CXF-RS component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default CxfRsEndpointBuilderFactory.CxfRsEndpointBuilder
basic()
default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointBuilder
basicPropertyBinding(boolean basicPropertyBinding)
Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities.default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointBuilder
basicPropertyBinding(String basicPropertyBinding)
Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities.default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointBuilder
binding(Object binding)
To use a custom CxfBinding to control the binding between Camel Message and CXF Message.default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointBuilder
binding(String binding)
To use a custom CxfBinding to control the binding between Camel Message and CXF Message.default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointBuilder
bus(Object bus)
To use a custom configured CXF Bus.default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointBuilder
bus(String bus)
To use a custom configured CXF Bus.default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointBuilder
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 CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointBuilder
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 CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointBuilder
cxfRsConfigurer(Object cxfRsConfigurer)
This option could apply the implementation of org.apache.camel.component.cxf.jaxrs.CxfRsEndpointConfigurer which supports to configure the CXF endpoint in programmatic way.default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointBuilder
cxfRsConfigurer(String cxfRsConfigurer)
This option could apply the implementation of org.apache.camel.component.cxf.jaxrs.CxfRsEndpointConfigurer which supports to configure the CXF endpoint in programmatic way.default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointBuilder
defaultBus(boolean defaultBus)
Will set the default bus when CXF endpoint create a bus by itself.default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointBuilder
defaultBus(String defaultBus)
Will set the default bus when CXF endpoint create a bus by itself.default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointBuilder
headerFilterStrategy(String headerFilterStrategy)
To use a custom HeaderFilterStrategy to filter header to and from Camel message.default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointBuilder
headerFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
To use a custom HeaderFilterStrategy to filter header to and from Camel message.default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointBuilder
performInvocation(boolean performInvocation)
When the option is true, Camel will perform the invocation of the resource class instance and put the response object into the exchange for further processing.default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointBuilder
performInvocation(String performInvocation)
When the option is true, Camel will perform the invocation of the resource class instance and put the response object into the exchange for further processing.default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointBuilder
propagateContexts(boolean propagateContexts)
When the option is true, JAXRS UriInfo, HttpHeaders, Request and SecurityContext contexts will be available to custom CXFRS processors as typed Camel exchange properties.default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointBuilder
propagateContexts(String propagateContexts)
When the option is true, JAXRS UriInfo, HttpHeaders, Request and SecurityContext contexts will be available to custom CXFRS processors as typed Camel exchange properties.default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointBuilder
synchronous(boolean synchronous)
Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointBuilder
synchronous(String synchronous)
Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointConsumerBuilder
exceptionHandler, exceptionHandler, exchangePattern, exchangePattern, serviceBeans, serviceBeans
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointProducerBuilder
httpClientAPI, httpClientAPI, ignoreDeleteMethodMessageBody, ignoreDeleteMethodMessageBody, maxClientCacheSize, maxClientCacheSize
-
Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, getUri
-
-
-
-
Method Detail
-
basic
default CxfRsEndpointBuilderFactory.CxfRsEndpointBuilder basic()
- Specified by:
basic
in interfaceCxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointConsumerBuilder
- Specified by:
basic
in interfaceCxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointProducerBuilder
-
basicPropertyBinding
default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointBuilder basicPropertyBinding(boolean basicPropertyBinding)
Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities. The option is a:boolean
type. Default: false Group: advanced- Specified by:
basicPropertyBinding
in interfaceCxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointConsumerBuilder
- Specified by:
basicPropertyBinding
in interfaceCxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointProducerBuilder
-
basicPropertyBinding
default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointBuilder basicPropertyBinding(String basicPropertyBinding)
Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities. The option will be converted to aboolean
type. Default: false Group: advanced- Specified by:
basicPropertyBinding
in interfaceCxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointConsumerBuilder
- Specified by:
basicPropertyBinding
in interfaceCxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointProducerBuilder
-
binding
default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointBuilder binding(Object binding)
To use a custom CxfBinding to control the binding between Camel Message and CXF Message. The option is a:org.apache.camel.component.cxf.jaxrs.CxfRsBinding
type. Group: advanced- Specified by:
binding
in interfaceCxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointConsumerBuilder
- Specified by:
binding
in interfaceCxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointProducerBuilder
-
binding
default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointBuilder binding(String binding)
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.jaxrs.CxfRsBinding
type. Group: advanced- Specified by:
binding
in interfaceCxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointConsumerBuilder
- Specified by:
binding
in interfaceCxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointProducerBuilder
-
bus
default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointBuilder bus(Object bus)
To use a custom configured CXF Bus. The option is a:org.apache.cxf.Bus
type. Group: advanced- Specified by:
bus
in interfaceCxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointConsumerBuilder
- Specified by:
bus
in interfaceCxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointProducerBuilder
-
bus
default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointBuilder bus(String bus)
To use a custom configured CXF Bus. The option will be converted to aorg.apache.cxf.Bus
type. Group: advanced- Specified by:
bus
in interfaceCxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointConsumerBuilder
- Specified by:
bus
in interfaceCxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointProducerBuilder
-
continuationTimeout
default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointBuilder 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- Specified by:
continuationTimeout
in interfaceCxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointConsumerBuilder
- Specified by:
continuationTimeout
in interfaceCxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointProducerBuilder
-
continuationTimeout
default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointBuilder 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- Specified by:
continuationTimeout
in interfaceCxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointConsumerBuilder
- Specified by:
continuationTimeout
in interfaceCxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointProducerBuilder
-
cxfRsConfigurer
default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointBuilder cxfRsConfigurer(Object cxfRsConfigurer)
This option could apply the implementation of org.apache.camel.component.cxf.jaxrs.CxfRsEndpointConfigurer 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. The option is a:org.apache.camel.component.cxf.jaxrs.CxfRsConfigurer
type. Group: advanced- Specified by:
cxfRsConfigurer
in interfaceCxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointConsumerBuilder
- Specified by:
cxfRsConfigurer
in interfaceCxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointProducerBuilder
-
cxfRsConfigurer
default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointBuilder cxfRsConfigurer(String cxfRsConfigurer)
This option could apply the implementation of org.apache.camel.component.cxf.jaxrs.CxfRsEndpointConfigurer 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. The option will be converted to aorg.apache.camel.component.cxf.jaxrs.CxfRsConfigurer
type. Group: advanced- Specified by:
cxfRsConfigurer
in interfaceCxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointConsumerBuilder
- Specified by:
cxfRsConfigurer
in interfaceCxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointProducerBuilder
-
defaultBus
default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointBuilder 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- Specified by:
defaultBus
in interfaceCxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointConsumerBuilder
- Specified by:
defaultBus
in interfaceCxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointProducerBuilder
-
defaultBus
default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointBuilder 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- Specified by:
defaultBus
in interfaceCxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointConsumerBuilder
- Specified by:
defaultBus
in interfaceCxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointProducerBuilder
-
headerFilterStrategy
default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointBuilder 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- Specified by:
headerFilterStrategy
in interfaceCxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointConsumerBuilder
- Specified by:
headerFilterStrategy
in interfaceCxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointProducerBuilder
-
headerFilterStrategy
default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointBuilder 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- Specified by:
headerFilterStrategy
in interfaceCxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointConsumerBuilder
- Specified by:
headerFilterStrategy
in interfaceCxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointProducerBuilder
-
performInvocation
default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointBuilder performInvocation(boolean performInvocation)
When the option is true, Camel will perform the invocation of the resource class instance and put the response object into the exchange for further processing. The option is a:boolean
type. Default: false Group: advanced- Specified by:
performInvocation
in interfaceCxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointConsumerBuilder
- Specified by:
performInvocation
in interfaceCxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointProducerBuilder
-
performInvocation
default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointBuilder performInvocation(String performInvocation)
When the option is true, Camel will perform the invocation of the resource class instance and put the response object into the exchange for further processing. The option will be converted to aboolean
type. Default: false Group: advanced- Specified by:
performInvocation
in interfaceCxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointConsumerBuilder
- Specified by:
performInvocation
in interfaceCxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointProducerBuilder
-
propagateContexts
default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointBuilder propagateContexts(boolean propagateContexts)
When the option is true, JAXRS UriInfo, HttpHeaders, Request and SecurityContext contexts will be available to custom CXFRS processors as typed Camel exchange properties. These contexts can be used to analyze the current requests using JAX-RS API. The option is a:boolean
type. Default: false Group: advanced- Specified by:
propagateContexts
in interfaceCxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointConsumerBuilder
- Specified by:
propagateContexts
in interfaceCxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointProducerBuilder
-
propagateContexts
default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointBuilder propagateContexts(String propagateContexts)
When the option is true, JAXRS UriInfo, HttpHeaders, Request and SecurityContext contexts will be available to custom CXFRS processors as typed Camel exchange properties. These contexts can be used to analyze the current requests using JAX-RS API. The option will be converted to aboolean
type. Default: false Group: advanced- Specified by:
propagateContexts
in interfaceCxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointConsumerBuilder
- Specified by:
propagateContexts
in interfaceCxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointProducerBuilder
-
synchronous
default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointBuilder 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- Specified by:
synchronous
in interfaceCxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointConsumerBuilder
- Specified by:
synchronous
in interfaceCxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointProducerBuilder
-
synchronous
default CxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointBuilder 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- Specified by:
synchronous
in interfaceCxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointConsumerBuilder
- Specified by:
synchronous
in interfaceCxfRsEndpointBuilderFactory.AdvancedCxfRsEndpointProducerBuilder
-
-