The 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 web socket websocket server of WSO2 CEP for the CEP to receive events. However, if the event source is a web socket server, the CEP should connect to it in order to receive events. In such scenarios, use the WebSocket Event Receiver. |