You are here: FME Server Reference Manual > FME Server Services > Notification Service > WebSocket Subscriber

WebSocket Subscriber

The WebSocket subscriber receives notifications from the FME Server Notification Service and publishes them over TCP to WebSocket-supported clients that are connected to the FME Server WebSocket server or another target URL. Supported clients include, among others, the following HTML5-based web browsers:

WebSocket Communication Channels

By default, FME Server uses the following channels for WebSocket communication:

Configuring the Subscriber

  1. In the FME Server Web User Interface, select Notifications in the sidebar. Select the Subscriptions tab and click New.
  2. Provide a name for the Subscription
  3. In the Protocol drop down menu, select WebSocket.
  4. Specify the topics you want to subscribe to using the drop-down selector, or click Select All if you want to subscribe to all topics.
  5. Target URL: This field is pre-populated with the URL of the WebSocket server on the local host system (included with your FME Server installation). However, you can choose to connect to a different WebSocket server.
  6. Stream ID: Specify a Stream ID for the subscriber. The Stream ID allows the WebSocket server to uniquely identify message streams and connect them to the right requesting applications.
  7. Click OK.

For information about how the WebSocket Server sends messages, see WebSocket Server Messaging Protocol.

See Also

Safe Software Inc. www.safe.com