Interface CxfRsEndpointBuilderFactory.CxfRsEndpointBuilder
- All Superinterfaces:
CxfRsEndpointBuilderFactory.CxfRsEndpointConsumerBuilder
,CxfRsEndpointBuilderFactory.CxfRsEndpointProducerBuilder
,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.CxfRsEndpointBuilder
extends CxfRsEndpointBuilderFactory.CxfRsEndpointConsumerBuilder, CxfRsEndpointBuilderFactory.CxfRsEndpointProducerBuilder
Builder for endpoint for the CXF-RS component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()
Set the feature list to the CxfRs endpoint.Set the feature list to the CxfRs endpoint.loggingFeatureEnabled
(boolean loggingFeatureEnabled) This option enables CXF Logging Feature which writes inbound and outbound REST messages to log.loggingFeatureEnabled
(String loggingFeatureEnabled) This option enables CXF Logging Feature which writes inbound and outbound REST messages to log.loggingSizeLimit
(int loggingSizeLimit) To limit the total size of number of bytes the logger will output when logging feature has been enabled and -1 for no limit.loggingSizeLimit
(String loggingSizeLimit) To limit the total size of number of bytes the logger will output when logging feature has been enabled and -1 for no limit.This option is used to specify the model file which is useful for the resource class without annotation.Set custom JAX-RS provider(s) list to the CxfRs endpoint.resourceClasses
(String resourceClasses) The resource classes which you want to export as REST service.resourceClasses
(List<Class<Object>> resourceClasses) The resource classes which you want to export as REST service.schemaLocations
(String schemaLocations) Sets the locations of the schema(s) which can be used to validate the incoming XML or JAXB-driven JSON.schemaLocations
(List<String> schemaLocations) Sets the locations of the schema(s) which can be used to validate the incoming XML or JAXB-driven JSON.skipFaultLogging
(boolean skipFaultLogging) This option controls whether the PhaseInterceptorChain skips logging the Fault that it catches.skipFaultLogging
(String skipFaultLogging) This option controls whether the PhaseInterceptorChain skips logging the Fault that it catches.Methods inherited from interface org.apache.camel.builder.endpoint.dsl.CxfRsEndpointBuilderFactory.CxfRsEndpointConsumerBuilder
bindingStyle, bindingStyle, publishedEndpointUrl
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.CxfRsEndpointBuilderFactory.CxfRsEndpointProducerBuilder
cookieHandler, cookieHandler, hostnameVerifier, hostnameVerifier, sslContextParameters, sslContextParameters, throwExceptionOnFailure, throwExceptionOnFailure
Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolve
Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
-
Method Details
-
advanced
- Specified by:
advanced
in interfaceCxfRsEndpointBuilderFactory.CxfRsEndpointConsumerBuilder
- Specified by:
advanced
in interfaceCxfRsEndpointBuilderFactory.CxfRsEndpointProducerBuilder
-
features
default CxfRsEndpointBuilderFactory.CxfRsEndpointBuilder features(List<org.apache.cxf.feature.Feature> features) Set the feature list to the CxfRs endpoint. The option is a:java.util.List<org.apache.cxf.feature.Feature>
type. Group: common- Specified by:
features
in interfaceCxfRsEndpointBuilderFactory.CxfRsEndpointConsumerBuilder
- Specified by:
features
in interfaceCxfRsEndpointBuilderFactory.CxfRsEndpointProducerBuilder
- Parameters:
features
- the value to set- Returns:
- the dsl builder
-
features
Set the feature list to the CxfRs endpoint. The option will be converted to ajava.util.List<org.apache.cxf.feature.Feature>
type. Group: common- Specified by:
features
in interfaceCxfRsEndpointBuilderFactory.CxfRsEndpointConsumerBuilder
- Specified by:
features
in interfaceCxfRsEndpointBuilderFactory.CxfRsEndpointProducerBuilder
- Parameters:
features
- the value to set- Returns:
- the dsl builder
-
modelRef
This option is used to specify the model file which is useful for the resource class without annotation. When using this option, then the service class can be omitted, to emulate document-only endpoints. The option is a:java.lang.String
type. Group: common- Specified by:
modelRef
in interfaceCxfRsEndpointBuilderFactory.CxfRsEndpointConsumerBuilder
- Specified by:
modelRef
in interfaceCxfRsEndpointBuilderFactory.CxfRsEndpointProducerBuilder
- Parameters:
modelRef
- the value to set- Returns:
- the dsl builder
-
providers
Set custom JAX-RS provider(s) list to the CxfRs endpoint. You can specify a string with a list of providers to lookup in the registy separated by comma. The option is a:java.lang.String
type. Group: common- Specified by:
providers
in interfaceCxfRsEndpointBuilderFactory.CxfRsEndpointConsumerBuilder
- Specified by:
providers
in interfaceCxfRsEndpointBuilderFactory.CxfRsEndpointProducerBuilder
- Parameters:
providers
- the value to set- Returns:
- the dsl builder
-
resourceClasses
default CxfRsEndpointBuilderFactory.CxfRsEndpointBuilder resourceClasses(List<Class<Object>> resourceClasses) The resource classes which you want to export as REST service. Multiple classes can be separated by comma. The option is a:java.util.List<java.lang.Class<java.lang.Object>>
type. Group: common- Specified by:
resourceClasses
in interfaceCxfRsEndpointBuilderFactory.CxfRsEndpointConsumerBuilder
- Specified by:
resourceClasses
in interfaceCxfRsEndpointBuilderFactory.CxfRsEndpointProducerBuilder
- Parameters:
resourceClasses
- the value to set- Returns:
- the dsl builder
-
resourceClasses
The resource classes which you want to export as REST service. Multiple classes can be separated by comma. The option will be converted to ajava.util.List<java.lang.Class<java.lang.Object>>
type. Group: common- Specified by:
resourceClasses
in interfaceCxfRsEndpointBuilderFactory.CxfRsEndpointConsumerBuilder
- Specified by:
resourceClasses
in interfaceCxfRsEndpointBuilderFactory.CxfRsEndpointProducerBuilder
- Parameters:
resourceClasses
- the value to set- Returns:
- the dsl builder
-
schemaLocations
default CxfRsEndpointBuilderFactory.CxfRsEndpointBuilder schemaLocations(List<String> schemaLocations) Sets the locations of the schema(s) which can be used to validate the incoming XML or JAXB-driven JSON. The option is a:java.util.List<java.lang.String>
type. Group: common- Specified by:
schemaLocations
in interfaceCxfRsEndpointBuilderFactory.CxfRsEndpointConsumerBuilder
- Specified by:
schemaLocations
in interfaceCxfRsEndpointBuilderFactory.CxfRsEndpointProducerBuilder
- Parameters:
schemaLocations
- the value to set- Returns:
- the dsl builder
-
schemaLocations
Sets the locations of the schema(s) which can be used to validate the incoming XML or JAXB-driven JSON. The option will be converted to ajava.util.List<java.lang.String>
type. Group: common- Specified by:
schemaLocations
in interfaceCxfRsEndpointBuilderFactory.CxfRsEndpointConsumerBuilder
- Specified by:
schemaLocations
in interfaceCxfRsEndpointBuilderFactory.CxfRsEndpointProducerBuilder
- Parameters:
schemaLocations
- the value to set- Returns:
- the dsl builder
-
skipFaultLogging
This option controls whether the PhaseInterceptorChain skips logging the Fault that it catches. The option is a:boolean
type. Default: false Group: common- Specified by:
skipFaultLogging
in interfaceCxfRsEndpointBuilderFactory.CxfRsEndpointConsumerBuilder
- Specified by:
skipFaultLogging
in interfaceCxfRsEndpointBuilderFactory.CxfRsEndpointProducerBuilder
- Parameters:
skipFaultLogging
- the value to set- Returns:
- the dsl builder
-
skipFaultLogging
This option controls whether the PhaseInterceptorChain skips logging the Fault that it catches. The option will be converted to aboolean
type. Default: false Group: common- Specified by:
skipFaultLogging
in interfaceCxfRsEndpointBuilderFactory.CxfRsEndpointConsumerBuilder
- Specified by:
skipFaultLogging
in interfaceCxfRsEndpointBuilderFactory.CxfRsEndpointProducerBuilder
- Parameters:
skipFaultLogging
- the value to set- Returns:
- the dsl builder
-
loggingFeatureEnabled
default CxfRsEndpointBuilderFactory.CxfRsEndpointBuilder loggingFeatureEnabled(boolean loggingFeatureEnabled) This option enables CXF Logging Feature which writes inbound and outbound REST messages to log. The option is a:boolean
type. Default: false Group: logging- Specified by:
loggingFeatureEnabled
in interfaceCxfRsEndpointBuilderFactory.CxfRsEndpointConsumerBuilder
- Specified by:
loggingFeatureEnabled
in interfaceCxfRsEndpointBuilderFactory.CxfRsEndpointProducerBuilder
- Parameters:
loggingFeatureEnabled
- the value to set- Returns:
- the dsl builder
-
loggingFeatureEnabled
default CxfRsEndpointBuilderFactory.CxfRsEndpointBuilder loggingFeatureEnabled(String loggingFeatureEnabled) This option enables CXF Logging Feature which writes inbound and outbound REST messages to log. The option will be converted to aboolean
type. Default: false Group: logging- Specified by:
loggingFeatureEnabled
in interfaceCxfRsEndpointBuilderFactory.CxfRsEndpointConsumerBuilder
- Specified by:
loggingFeatureEnabled
in interfaceCxfRsEndpointBuilderFactory.CxfRsEndpointProducerBuilder
- Parameters:
loggingFeatureEnabled
- the value to set- Returns:
- the dsl builder
-
loggingSizeLimit
To limit the total size of number of bytes the logger will output when logging feature has been enabled and -1 for no limit. The option is a:int
type. Default: 49152 Group: logging- Specified by:
loggingSizeLimit
in interfaceCxfRsEndpointBuilderFactory.CxfRsEndpointConsumerBuilder
- Specified by:
loggingSizeLimit
in interfaceCxfRsEndpointBuilderFactory.CxfRsEndpointProducerBuilder
- Parameters:
loggingSizeLimit
- the value to set- Returns:
- the dsl builder
-
loggingSizeLimit
To limit the total size of number of bytes the logger will output when logging feature has been enabled and -1 for no limit. The option will be converted to aint
type. Default: 49152 Group: logging- Specified by:
loggingSizeLimit
in interfaceCxfRsEndpointBuilderFactory.CxfRsEndpointConsumerBuilder
- Specified by:
loggingSizeLimit
in interfaceCxfRsEndpointBuilderFactory.CxfRsEndpointProducerBuilder
- Parameters:
loggingSizeLimit
- the value to set- Returns:
- the dsl builder
-