Endpoint Options

Talend ESB Mediation Developer Guide

EnrichVersion
6.2
EnrichProdName
Talend ESB
task
Design and Development
Installation and Upgrade
EnrichPlatform
Talend ESB

The WebsocketEndpoint can be configured prior to use

Option

Default

Description

sslContextParametersRef

 

Deprecated and will be removed in Camel 3.0: Reference to a org.apache.camel.util.jsse.SSLContextParameters in the Registry.  This reference overrides any configured SSLContextParameters at the component level. See Using the JSSE Configuration Utility. Use the sslContextParameters option instead

sslContextParameters

 

Camel 2.11.1: Reference to a org.apache.camel.util.jsse.SSLContextParameters in the Registry. This reference overrides any configured SSLContextParameters at the component level.  See Using the JSSE Configuration Utility.

sendToAll

null

Producer only: To send to all websocket subscribers. Can be used to configure on endpoint level, instead of having to use the WebsocketConstants.SEND_TO_ALL header on the message.

staticResources

null

The root directory for the web resources or classpath. Use the protocol file: or classpath: depending if you want that the component loads the resource from file system or classpath.

 bufferSize

null

Camel 2.12.3: set the buffer size of the websocketServlet, which is also the max frame byte size (default 8192)

maxIdleTime

null

Camel 2.12.3: set the time in ms that the websocket created by the websocketServlet may be idle before closing. (default is 300000)

maxTextMessageSize

null

Camel 2.12.3: can be used to set the size in characters that the websocket created by the websocketServlet may be accept before closing.

maxBinaryMessageSize

null

Camel 2.12.3: can be used to set the size in bytes that the websocket created by the websocketServlet may be accept before closing. (Default is -1 - or unlimited)

minVersion

null

Camel 2.12.3: can be used to set the minimum protocol version accepted for the websocketServlet. (Default 13 - the RFC6455 version)