Interface UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
- All Known Subinterfaces:
UndertowEndpointBuilderFactory.AdvancedUndertowEndpointBuilder
- Enclosing interface:
- UndertowEndpointBuilderFactory
public static interface UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder extends org.apache.camel.builder.EndpointConsumerBuilder
Advanced builder for endpoint consumers for the Undertow component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder
accessLogReceiver(Object accessLogReceiver)
Which Undertow AccessLogReciever should be used Will use JBossLoggingAccessLogReceiver if not specifid.default UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder
accessLogReceiver(String accessLogReceiver)
Which Undertow AccessLogReciever should be used Will use JBossLoggingAccessLogReceiver if not specifid.default UndertowEndpointBuilderFactory.UndertowEndpointConsumerBuilder
basic()
default UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder
basicPropertyBinding(boolean basicPropertyBinding)
Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities.default UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder
basicPropertyBinding(String basicPropertyBinding)
Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities.default UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder
exceptionHandler(String exceptionHandler)
To let the consumer use a custom ExceptionHandler.default UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder
exceptionHandler(org.apache.camel.spi.ExceptionHandler exceptionHandler)
To let the consumer use a custom ExceptionHandler.default UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder
exchangePattern(String exchangePattern)
Sets the exchange pattern when the consumer creates an exchange.default UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder
exchangePattern(org.apache.camel.ExchangePattern exchangePattern)
Sets the exchange pattern when the consumer creates an exchange.default UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder
handlers(String handlers)
Specifies a comma-delimited set of io.undertow.server.HttpHandler instances to lookup in your Registry.default UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder
handlers(Set<Object> handlers)
Specifies a comma-delimited set of io.undertow.server.HttpHandler instances to lookup in your Registry.default UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder
headerFilterStrategy(String headerFilterStrategy)
To use a custom HeaderFilterStrategy to filter header to and from Camel message.default UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder
headerFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
To use a custom HeaderFilterStrategy to filter header to and from Camel message.default UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder
synchronous(boolean synchronous)
Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).default UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder
synchronous(String synchronous)
Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).default UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder
undertowHttpBinding(Object undertowHttpBinding)
To use a custom UndertowHttpBinding to control the mapping between Camel message and undertow.default UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder
undertowHttpBinding(String undertowHttpBinding)
To use a custom UndertowHttpBinding to control the mapping between Camel message and undertow.
-
-
-
Method Detail
-
basic
default UndertowEndpointBuilderFactory.UndertowEndpointConsumerBuilder basic()
-
exceptionHandler
default UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder 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 UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder 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 UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder 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 UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder 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)
-
handlers
default UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder handlers(Set<Object> handlers)
Specifies a comma-delimited set of io.undertow.server.HttpHandler instances to lookup in your Registry. These handlers are added to the Undertow handler chain (for example, to add security). Important: You can not use different handlers with different Undertow endpoints using the same port number. The handlers is associated to the port number. If you need different handlers, then use different port numbers. The option is a:java.util.Set<org.apache.camel.component.undertow.HttpHandlerRegistrationInfo>
type. Group: consumer (advanced)
-
handlers
default UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder handlers(String handlers)
Specifies a comma-delimited set of io.undertow.server.HttpHandler instances to lookup in your Registry. These handlers are added to the Undertow handler chain (for example, to add security). Important: You can not use different handlers with different Undertow endpoints using the same port number. The handlers is associated to the port number. If you need different handlers, then use different port numbers. The option will be converted to ajava.util.Set<org.apache.camel.component.undertow.HttpHandlerRegistrationInfo>
type. Group: consumer (advanced)
-
accessLogReceiver
default UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder accessLogReceiver(Object accessLogReceiver)
Which Undertow AccessLogReciever should be used Will use JBossLoggingAccessLogReceiver if not specifid. The option is a:io.undertow.server.handlers.accesslog.AccessLogReceiver
type. Group: advanced
-
accessLogReceiver
default UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder accessLogReceiver(String accessLogReceiver)
Which Undertow AccessLogReciever should be used Will use JBossLoggingAccessLogReceiver if not specifid. The option will be converted to aio.undertow.server.handlers.accesslog.AccessLogReceiver
type. Group: advanced
-
basicPropertyBinding
default UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder 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
-
basicPropertyBinding
default UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder 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
-
headerFilterStrategy
default UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder 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 UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder 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
-
synchronous
default UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder 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 UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder 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
-
undertowHttpBinding
default UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder undertowHttpBinding(Object undertowHttpBinding)
To use a custom UndertowHttpBinding to control the mapping between Camel message and undertow. The option is a:org.apache.camel.component.undertow.UndertowHttpBinding
type. Group: advanced
-
undertowHttpBinding
default UndertowEndpointBuilderFactory.AdvancedUndertowEndpointConsumerBuilder undertowHttpBinding(String undertowHttpBinding)
To use a custom UndertowHttpBinding to control the mapping between Camel message and undertow. The option will be converted to aorg.apache.camel.component.undertow.UndertowHttpBinding
type. Group: advanced
-
-