Represents an Undertow endpoint.
Name | Kind | Group | Required | Default | Type | Enum | Description |
---|---|---|---|---|---|---|---|
httpURI | path | common | 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. | |||
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. | ||
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). |
The Undertow consumer.