AHC Websocket

AHC Websocket

Scheme: ahc-ws
Syntax: ahc-ws:httpUri
Alternative Schemes: ahc-ws,ahc-wss
Description: To exchange data with external Websocket servers using Async Http Client.
Deprecated:false
Async:true
Maven: org.apache.camel/camel-ahc-ws/2.18.1.redhat-000035

To exchange data with external Websocket servers using Async Http Client.

Name Kind Group Required Default Type Enum Description
httpUri path common true java.net.URI
binding parameter common org.apache.camel.component.ahc.AhcBinding
bridgeEndpoint parameter common boolean
bufferSize parameter common 4096 int
headerFilterStrategy parameter common org.apache.camel.spi.HeaderFilterStrategy
throwExceptionOnFailure parameter common true boolean
transferException parameter common boolean
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.
sendMessageOnError parameter consumer boolean Whether to send an message if the web-socket listener received an error.
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.
connectionClose parameter producer false boolean
useStreaming parameter producer boolean To enable streaming to send data as multiple text fragments.
clientConfig parameter advanced org.asynchttpclient.AsyncHttpClientConfig
clientConfigOptions parameter advanced java.util.Map
synchronous parameter advanced false boolean Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).
sslContextParameters parameter security org.apache.camel.util.jsse.SSLContextParameters

ahc-ws consumer