Publish and Subscribe Services (Magic xpi 4.1)
Publish and Subscribe (PSS) services are a means of distributing information in your network. PSS lets you define an event so that when the event occurs in your integration project, the event is published. You can also configure events to subscribe to published events. When a published event occurs, flows that are subscribed to the event are invoked.
Events that can be subscribed or published to are entered in the PSS Topics Repository. Topics in this repository can be defined as an event when configuring any of the PSS services.
To add a PSS topic to the repository:
-
From the Project menu, click PSS Topic to open the PSS Topic Repository.
-
Click New to create a new entry. The next line becomes active when you click New.
-
Click in the Topic Name column and enter a name for the PSS topic.
-
Press Tab to move to the Description column and enter a short description for the topic. This is optional but it is recommended that you enter a description that will help you remember what the topic does.
-
Click OK to close the repository and to save the data.
You can permanently delete a PSS topic from the repository by selecting it and clicking Delete.
The following PSS services are available:
PSS Subscribe: This service subscribes a flow to an event in the PSS system using the Flow ID, so that the flow can be invoked when the published event occurs.
PSS Publish: This service publishes events to the PSS system so that the system can invoke flows that are subscribed to the published event.
PSS Remove: This service removes specified events from the PSS system.
Publish and Subscribe