Undertow

Undertow

Scheme: undertow
Syntax: undertow:httpURI
Description: The undertow component provides HTTP-based endpoints for consuming and producing HTTP requests.
Deprecated:false
Async:true
Maven: org.apache.camel/camel-undertow/2.18.1.redhat-000039

The undertow component provides HTTP-based endpoints for consuming and producing HTTP requests.

Name Kind Group Required Default Type Enum Description
httpURI path common true java.net.URI The url of the HTTP endpoint to use.
bridgeErrorHandler parameter consumer boolean 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/ERROR level and ignored.
httpMethodRestrict parameter consumer java.lang.String Used to only allow consuming if the HttpMethod matches, such as GET/POST/PUT etc. Multiple methods can be specified separated by comma.
matchOnUriPrefix parameter consumer true java.lang.Boolean Whether or not the consumer should try to find a target consumer by matching the URI prefix if no exact match is found.
optionsEnabled parameter consumer boolean Specifies whether to enable HTTP OPTIONS for this Servlet consumer. By default OPTIONS is turned off.
exceptionHandler parameter consumer (advanced) org.apache.camel.spi.ExceptionHandler To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this options is not in use. By default the consumer will deal with exceptions, that will be logged at WARN/ERROR level and ignored.
exchangePattern parameter consumer (advanced) org.apache.camel.ExchangePattern InOnly
RobustInOnly
InOut
InOptionalOut
OutOnly
RobustOutOnly
OutIn
OutOptionalIn
Sets the exchange pattern when the consumer creates an exchange.
keepAlive parameter producer true java.lang.Boolean Setting to ensure socket is not closed due to inactivity
options parameter producer java.util.Map Sets additional channel options. The options that can be used are defined in {@link org.xnio.Options}. To configure from endpoint uri, then prefix each option with option., such as option.close-abort=true&option.send-buffer=8192
reuseAddresses parameter producer true java.lang.Boolean Setting to facilitate socket multiplexing
tcpNoDelay parameter producer true java.lang.Boolean Setting to improve TCP protocol performance
throwExceptionOnFailure parameter producer true java.lang.Boolean If the option is true, HttpProducer will ignore the Exchange.HTTP_URI header, and use the endpoint's URI for request. You may also set the option throwExceptionOnFailure to be false to let the producer send all the fault response back.
transferException parameter producer false java.lang.Boolean Option to disable throwing the HttpOperationFailedException in case of failed responses from the remote server. This allows you to get all responses regardless of the HTTP status code.
headerFilterStrategy parameter advanced org.apache.camel.spi.HeaderFilterStrategy To use a custom HeaderFilterStrategy to filter header to and from Camel message.
synchronous parameter advanced false boolean Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).
undertowHttpBinding parameter advanced org.apache.camel.component.undertow.UndertowHttpBinding To use a custom UndertowHttpBinding to control the mapping between Camel message and undertow.
sslContextParameters parameter security org.apache.camel.util.jsse.SSLContextParameters To configure security using SSLContextParameters

undertow consumer

The Undertow consumer.