Versions Compared

Key

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

The WebSocket event publisher can be configured with XML, JSON, and text output mapping types.

...

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

 WebSocket event publisher

Info

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

You can also d efine the respective adapter properties of the event receiver based on the transport type within the  <from>  element of the event receiver configuration in the<PRODUCT_HOME>/repository/deployment/server/eventpublishers/ directory as follows.

...

Adapter Property
Description
Configuration file propertyExample
Web Socket Server URL URL of the WebSocket server to which you want to connect
websocket.server.url
ws://localhost:9099

...