Undertow

Undertow

Scheme: undertow
Syntax: undertow:httpURI
Description: Represents the component that manages UndertowEndpoint.
Maven: org.apache.camel/camel-undertow/2.16.2

Represents an Undertow endpoint.

Name Kind Group Required Default Type Enum Description
httpURI path common true java.net.URI The url of the HTTP endpoint to use.
keepAlive path producer true java.lang.Boolean Setting to ensure socket is not closed due to inactivity
tcpNoDelay path producer true java.lang.Boolean Setting to improve TCP protocol performance
reuseAddresses path producer true java.lang.Boolean Setting to facilitate socket multiplexing
headerFilterStrategy parameter common org.apache.camel.spi.HeaderFilterStrategy To use a custom HeaderFilterStrategy to filter header to and from Camel message.
sslContextParameters parameter common org.apache.camel.util.jsse.SSLContextParameters To configure security using SSLContextParameters
transferException parameter common 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.
undertowHttpBinding parameter common org.apache.camel.component.undertow.UndertowHttpBinding To use a custom UndertowHttpBinding to control the mapping between Camel message and undertow.
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.
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.
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
throwExceptionOnFailure parameter producer 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.
exchangePattern parameter advanced InOnly org.apache.camel.ExchangePattern InOnly
RobustInOnly
InOut
InOptionalOut
OutOnly
RobustOutOnly
OutIn
OutOptionalIn
Sets the default exchange pattern when creating an exchange
synchronous parameter advanced false boolean Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).

undertow consumer

The Undertow consumer.