Interface ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
- All Known Subinterfaces:
ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointBuilder
- Enclosing interface:
- ResteasyEndpointBuilderFactory
public static interface ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder extends org.apache.camel.builder.EndpointConsumerBuilder
Advanced builder for endpoint consumers for the Resteasy component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default ResteasyEndpointBuilderFactory.ResteasyEndpointConsumerBuilder
basic()
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
bridgeErrorHandler(boolean bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
bridgeErrorHandler(String bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
eagerCheckContentAvailable(boolean eagerCheckContentAvailable)
Whether to eager check whether the HTTP requests has content if the content-length header is 0 or not present.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
eagerCheckContentAvailable(String eagerCheckContentAvailable)
Whether to eager check whether the HTTP requests has content if the content-length header is 0 or not present.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
exceptionHandler(String exceptionHandler)
To let the consumer use a custom ExceptionHandler.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
exceptionHandler(org.apache.camel.spi.ExceptionHandler exceptionHandler)
To let the consumer use a custom ExceptionHandler.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
exchangePattern(String exchangePattern)
Sets the exchange pattern when the consumer creates an exchange.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
exchangePattern(org.apache.camel.ExchangePattern exchangePattern)
Sets the exchange pattern when the consumer creates an exchange.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
headerFilterStrategy(String headerFilterStrategy)
To use a custom HeaderFilterStrategy to filter header to and from Camel message.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
headerFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
To use a custom HeaderFilterStrategy to filter header to and from Camel message.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
mapHttpMessageBody(boolean mapHttpMessageBody)
If this option is true then IN exchange Body of the exchange will be mapped to HTTP body.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
mapHttpMessageBody(String mapHttpMessageBody)
If this option is true then IN exchange Body of the exchange will be mapped to HTTP body.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
mapHttpMessageFormUrlEncodedBody(boolean mapHttpMessageFormUrlEncodedBody)
If this option is true then IN exchange Form Encoded body of the exchange will be mapped to HTTP.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
mapHttpMessageFormUrlEncodedBody(String mapHttpMessageFormUrlEncodedBody)
If this option is true then IN exchange Form Encoded body of the exchange will be mapped to HTTP.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
mapHttpMessageHeaders(boolean mapHttpMessageHeaders)
If this option is true then IN exchange Headers of the exchange will be mapped to HTTP headers.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
mapHttpMessageHeaders(String mapHttpMessageHeaders)
If this option is true then IN exchange Headers of the exchange will be mapped to HTTP headers.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
optionsEnabled(boolean optionsEnabled)
Specifies whether to enable HTTP OPTIONS for this Servlet consumer.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
optionsEnabled(String optionsEnabled)
Specifies whether to enable HTTP OPTIONS for this Servlet consumer.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
setHttpResponseDuringProcessing(Boolean setHttpResponseDuringProcessing)
Sets the flag to use the endpoint where you can either populate camel exchange from servlet response or use request itself which may be thought as if it is a proxy.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
setHttpResponseDuringProcessing(String setHttpResponseDuringProcessing)
Sets the flag to use the endpoint where you can either populate camel exchange from servlet response or use request itself which may be thought as if it is a proxy.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
skipServletProcessing(Boolean skipServletProcessing)
Sets the flag to use skip servlet processing and let camel take over processing.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
skipServletProcessing(String skipServletProcessing)
Sets the flag to use skip servlet processing and let camel take over processing.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
traceEnabled(boolean traceEnabled)
Specifies whether to enable HTTP TRACE for this Servlet consumer.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
traceEnabled(String traceEnabled)
Specifies whether to enable HTTP TRACE for this Servlet consumer.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
useSystemProperties(boolean useSystemProperties)
To use System Properties as fallback for configuration.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
useSystemProperties(String useSystemProperties)
To use System Properties as fallback for configuration.
-
-
-
Method Detail
-
basic
default ResteasyEndpointBuilderFactory.ResteasyEndpointConsumerBuilder basic()
-
bridgeErrorHandler
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option is a: <code>boolean</code> type. Default: false Group: consumer (advanced)- Parameters:
bridgeErrorHandler
- the value to set- Returns:
- the dsl builder
-
bridgeErrorHandler
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder bridgeErrorHandler(String bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option will be converted to a <code>boolean</code> type. Default: false Group: consumer (advanced)- Parameters:
bridgeErrorHandler
- the value to set- Returns:
- the dsl builder
-
eagerCheckContentAvailable
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder eagerCheckContentAvailable(boolean eagerCheckContentAvailable)
Whether to eager check whether the HTTP requests has content if the content-length header is 0 or not present. This can be turned on in case HTTP clients do not send streamed data. The option is a: <code>boolean</code> type. Default: false Group: consumer (advanced)- Parameters:
eagerCheckContentAvailable
- the value to set- Returns:
- the dsl builder
-
eagerCheckContentAvailable
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder eagerCheckContentAvailable(String eagerCheckContentAvailable)
Whether to eager check whether the HTTP requests has content if the content-length header is 0 or not present. This can be turned on in case HTTP clients do not send streamed data. The option will be converted to a <code>boolean</code> type. Default: false Group: consumer (advanced)- Parameters:
eagerCheckContentAvailable
- the value to set- Returns:
- the dsl builder
-
exceptionHandler
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder 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: <code>org.apache.camel.spi.ExceptionHandler</code> type. Group: consumer (advanced)- Parameters:
exceptionHandler
- the value to set- Returns:
- the dsl builder
-
exceptionHandler
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder 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 a <code>org.apache.camel.spi.ExceptionHandler</code> type. Group: consumer (advanced)- Parameters:
exceptionHandler
- the value to set- Returns:
- the dsl builder
-
exchangePattern
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder exchangePattern(org.apache.camel.ExchangePattern exchangePattern)
Sets the exchange pattern when the consumer creates an exchange. The option is a: <code>org.apache.camel.ExchangePattern</code> type. Group: consumer (advanced)- Parameters:
exchangePattern
- the value to set- Returns:
- the dsl builder
-
exchangePattern
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder exchangePattern(String exchangePattern)
Sets the exchange pattern when the consumer creates an exchange. The option will be converted to a <code>org.apache.camel.ExchangePattern</code> type. Group: consumer (advanced)- Parameters:
exchangePattern
- the value to set- Returns:
- the dsl builder
-
mapHttpMessageBody
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder mapHttpMessageBody(boolean mapHttpMessageBody)
If this option is true then IN exchange Body of the exchange will be mapped to HTTP body. Setting this to false will avoid the HTTP mapping. The option is a: <code>boolean</code> type. Default: true Group: consumer (advanced)- Parameters:
mapHttpMessageBody
- the value to set- Returns:
- the dsl builder
-
mapHttpMessageBody
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder mapHttpMessageBody(String mapHttpMessageBody)
If this option is true then IN exchange Body of the exchange will be mapped to HTTP body. Setting this to false will avoid the HTTP mapping. The option will be converted to a <code>boolean</code> type. Default: true Group: consumer (advanced)- Parameters:
mapHttpMessageBody
- the value to set- Returns:
- the dsl builder
-
mapHttpMessageFormUrlEncodedBody
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder mapHttpMessageFormUrlEncodedBody(boolean mapHttpMessageFormUrlEncodedBody)
If this option is true then IN exchange Form Encoded body of the exchange will be mapped to HTTP. Setting this to false will avoid the HTTP Form Encoded body mapping. The option is a: <code>boolean</code> type. Default: true Group: consumer (advanced)- Parameters:
mapHttpMessageFormUrlEncodedBody
- the value to set- Returns:
- the dsl builder
-
mapHttpMessageFormUrlEncodedBody
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder mapHttpMessageFormUrlEncodedBody(String mapHttpMessageFormUrlEncodedBody)
If this option is true then IN exchange Form Encoded body of the exchange will be mapped to HTTP. Setting this to false will avoid the HTTP Form Encoded body mapping. The option will be converted to a <code>boolean</code> type. Default: true Group: consumer (advanced)- Parameters:
mapHttpMessageFormUrlEncodedBody
- the value to set- Returns:
- the dsl builder
-
mapHttpMessageHeaders
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder mapHttpMessageHeaders(boolean mapHttpMessageHeaders)
If this option is true then IN exchange Headers of the exchange will be mapped to HTTP headers. Setting this to false will avoid the HTTP Headers mapping. The option is a: <code>boolean</code> type. Default: true Group: consumer (advanced)- Parameters:
mapHttpMessageHeaders
- the value to set- Returns:
- the dsl builder
-
mapHttpMessageHeaders
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder mapHttpMessageHeaders(String mapHttpMessageHeaders)
If this option is true then IN exchange Headers of the exchange will be mapped to HTTP headers. Setting this to false will avoid the HTTP Headers mapping. The option will be converted to a <code>boolean</code> type. Default: true Group: consumer (advanced)- Parameters:
mapHttpMessageHeaders
- the value to set- Returns:
- the dsl builder
-
optionsEnabled
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder optionsEnabled(boolean optionsEnabled)
Specifies whether to enable HTTP OPTIONS for this Servlet consumer. By default OPTIONS is turned off. The option is a: <code>boolean</code> type. Default: false Group: consumer (advanced)- Parameters:
optionsEnabled
- the value to set- Returns:
- the dsl builder
-
optionsEnabled
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder optionsEnabled(String optionsEnabled)
Specifies whether to enable HTTP OPTIONS for this Servlet consumer. By default OPTIONS is turned off. The option will be converted to a <code>boolean</code> type. Default: false Group: consumer (advanced)- Parameters:
optionsEnabled
- the value to set- Returns:
- the dsl builder
-
traceEnabled
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder traceEnabled(boolean traceEnabled)
Specifies whether to enable HTTP TRACE for this Servlet consumer. By default TRACE is turned off. The option is a: <code>boolean</code> type. Default: false Group: consumer (advanced)- Parameters:
traceEnabled
- the value to set- Returns:
- the dsl builder
-
traceEnabled
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder traceEnabled(String traceEnabled)
Specifies whether to enable HTTP TRACE for this Servlet consumer. By default TRACE is turned off. The option will be converted to a <code>boolean</code> type. Default: false Group: consumer (advanced)- Parameters:
traceEnabled
- the value to set- Returns:
- the dsl builder
-
headerFilterStrategy
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder 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- Parameters:
headerFilterStrategy
- the value to set- Returns:
- the dsl builder
-
headerFilterStrategy
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder 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- Parameters:
headerFilterStrategy
- the value to set- Returns:
- the dsl builder
-
setHttpResponseDuringProcessing
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder setHttpResponseDuringProcessing(Boolean setHttpResponseDuringProcessing)
Sets the flag to use the endpoint where you can either populate camel exchange from servlet response or use request itself which may be thought as if it is a proxy. The option is a: <code>java.lang.Boolean</code> type. Group: advanced- Parameters:
setHttpResponseDuringProcessing
- the value to set- Returns:
- the dsl builder
-
setHttpResponseDuringProcessing
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder setHttpResponseDuringProcessing(String setHttpResponseDuringProcessing)
Sets the flag to use the endpoint where you can either populate camel exchange from servlet response or use request itself which may be thought as if it is a proxy. The option will be converted to a <code>java.lang.Boolean</code> type. Group: advanced- Parameters:
setHttpResponseDuringProcessing
- the value to set- Returns:
- the dsl builder
-
skipServletProcessing
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder skipServletProcessing(Boolean skipServletProcessing)
Sets the flag to use skip servlet processing and let camel take over processing. The option is a: <code>java.lang.Boolean</code> type. Group: advanced- Parameters:
skipServletProcessing
- the value to set- Returns:
- the dsl builder
-
skipServletProcessing
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder skipServletProcessing(String skipServletProcessing)
Sets the flag to use skip servlet processing and let camel take over processing. The option will be converted to a <code>java.lang.Boolean</code> type. Group: advanced- Parameters:
skipServletProcessing
- the value to set- Returns:
- the dsl builder
-
useSystemProperties
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder useSystemProperties(boolean useSystemProperties)
To use System Properties as fallback for configuration. The option is a: <code>boolean</code> type. Default: false Group: advanced- Parameters:
useSystemProperties
- the value to set- Returns:
- the dsl builder
-
useSystemProperties
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder useSystemProperties(String useSystemProperties)
To use System Properties as fallback for configuration. The option will be converted to a <code>boolean</code> type. Default: false Group: advanced- Parameters:
useSystemProperties
- the value to set- Returns:
- the dsl builder
-
-