The WebSocket transport implementation of WSO2 Enterprise Integrator(WSO2 EI) is based on the WebSocket protocol, and consists of an Axis2 sender implementation for WebSockets and secure WebSockets. WebSocket is a protocol that provides full-duplex communication channels over a single TCP connection, and can be used by any client or server application. This transport supports bi-directional message mediation.
Enabling the transport
The following transport sender class should be included in the WSO2 EI configuration to enable the WebSocket transport.
To enable the WebSocket transport sender
<EI_HOME>/conf/axis2/axis2.xmlfile and uncomment the following WebSocket sender configuration:
To enable the secure WebSocket transport sender
<EI_HOME>/conf/axis2/axis2.xmlfile and uncomment the following secure WebSocket sender configuration: