Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The WSO2 Enterprise Integrator (WSO2 EI) secure WebSocket inbound protocol implementation is based on the WebSocket protocol, and allows full-duplex, secure message mediation.

...

WebSocket inbound endpoint parameters

ParameterDescriptionRequired
inbound.ws.portThe netty listener port on which the WebSocket inbound listens.Yes
ws.client.side.broadcast.level The client broadcast level that defines how WebSocket frames are broadcasted from the WebSocket inbound endpoint to the client. Broadcast happens based on the subscriber path client connected to the WebSocket inbound endpoint. The three possible levels are as follows:
0 - Only a unique client can receive the frame from a WebSocket inbound endpoint.
1 - All the clients connected with the same subscriber path receives the WebSocket frame.
2 - All the clients connected with the same subscriber path, except the one who publishes the frame to the inbound, receives the WebSocket frame.
Yes
ws.outflow.dispatch.sequenceThe sequence for the back-end to client mediation.Yes
ws.outflow.dispatch.fault.sequenceThe fault sequence for the back-end to client mediation path.Yes
wss.ssl.key.store.fileThe keystore location where keys are stored.Yes
wss.ssl.key.store.passThe password to access the keystore file.Yes
wss.ssl.trust.store.fileThe truststore location where keys are stored.Yes
wss.ssl.trust.store.passThe password to access the truststore file.Yes
wss.ssl.cert.passThe SSL certificate password.Yes
ws.boss.thread.pool.sizeThe size of the netty boss pool.No
ws.worker.thread.pool.sizeThe size of the worker thread pool.No
ws.subprotocol.handler.classSpecify one or more custom subprotocol handler classes that are required. Separate each custom subprotocol handler class using a semicolon.No
ws.default.content.type

Specifies the content type of the Web Socket frames that are received from the inbound endpoint.

No
ws.shutdown.status.codeSpecifies the status code of the closed web socket frame sent when the inbound endpoint is closed.No
ws.shutdown.status.messageSpecifies the status message of the closed web socket frame when the inbound endpoint is closed.No
ws.pipeline.handler.classThe fully qualified class name of a pipeline handler class that you implemented.No