Open topic with navigation
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:
- Internet Explorer 10+
- Firefox 11+
- Chrome 16+
- Safari 6+
- Opera 12.10+
WebSocket Communication Channels
By default, FME Server uses the following channels for WebSocket communication:
- Port: 7078
- URI: ws://<hostname>:7078/websocket
Configuring the Subscriber
- In the FME Server Web User Interface, select Notifications in the sidebar. Select the Subscriptions tab and click New.
- Provide a name for the Subscription
- In the Protocol drop down menu, select WebSocket.
- 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.
-
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.
-
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.
- Click OK.
For information about how the WebSocket Server sends messages, see WebSocket Server Messaging Protocol.
See Also