APIs in the MessagingServiceManager class
Use the APIs in the MessagingServiceManager class to interact with the Constellation Messaging Service.
- subscribe(filter, messageHandler, id, contextName)
Subscribes to the messaging service and forwards messages to subscribers based on a specified filter criteria.
- unsubscribe(id)
Removes the handler from its subscriptions and disconnects the web socket from the messaging service.
Previous topic MessagesConfigObject Next topic subscribe(filter, messageHandler, id, contextName)