The JSON-RPC Events Web Socket Bundle provides interface for subscribing to topics and for retrieving events remotely.
Overview
The Web Socket Notifications subscribes to the event topic specified in the URL at the moment that the connection is opened (and unsubscribe when it is closed). Serialization and marshaling of the communication between the Client Web Application and the Server is performed using JSON.
Required Bundles
To be able to receive events via web socket you have to install the following bundles:
For integration with the Policy Admin the following bundles are required:
More information on WebSocket notifications is provided in OSGi Events Application Specification from the WebSockets module.