Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted from v. 16

WebSocket event receiver is an internal event receiver that comes with WSO2 products by default. You can configure it with XML, JSON, and text input mapping types. 

Table of Contents
maxLevel3

...

Specify the Adapter Properties , when creating a WebSocket  event receiver using the management console as shown below.

Image Removed Websocket input event adapter propertiesImage Added

Info

After entering the above adapter properties, select the  Event Stream  to which you want to map the incoming events, and the  Message Format  which you want to apply on the receiving events. Also, click  Advanced  to define custom input mappings based on the  Message Format  you selected. For more information on custom input mapping types, see  Input Mapping Types .

...

Adapter Property
Description
Configuration file propertyExample
Web Socket Server URL URL of the WebSocket server to which you want to connect to

websocket.server.url
ws://localhost:9099
Is events duplicated in cluster In a cluster whether the same event can reach two receiver nodes
events.duplicated.in.cluster
true/false