The input WebSocket event adapter is used to receive events via a WebSocket. You can specify the URL of a WebSocket, so that WSO2 products can receive events from it. The input WebSocket event adapter supports XML, JSON, and text type mappings. To use it you need to do the following configurations.
...
You can configure the Input WebSocket Event Adaptor event adapter either using the management console or a configuration file.
...
- Log in to the product's management console and click Configure.
- Click Input Event Adaptors in the Event Processor Configs menu, and then click Add Input Event Adaptor.
Enter details as shown in the below example.
Click Add Event Adaptor.
...