websocket-local event receiver should be used if the event source is a web socket client. Such event sources need to connect to the inbuilt websocket server of WSO2 CEP DAS for the CEP DAS to receive events. However, if the event source is a web socket server, the CEP DAS should connect to it in order to receive events. In such scenarios, use the WebSocket Event Receiver.
There are not any adapter-specific properties for the WebSocket local event receiver as shown below.
When multi-tenancy is used, the URL formats used to receive events are as follows.
e.g., If the receiver name is
WebSocketLocalInputEventReceiver and the tenant domain is
mycompany.com, the URL would be as follows when you use the default server ports.
For more information on
websocket-local event receiver type, see the following sample in WSO2 CEP Documentation.