Figure 1: Topic Browser
WSO2 Eventing provides this topic browser feature to view all the topics available in the server in a tree view. User can perform all the operations with regarding a topic via this view. Initially this tree view does not display any of the operations available for the topic. When user clicks on the topic , it will display all the operations available for that particular topic.
Operations available for a particular topic are :
Figure 2: Add Subtopic
Add subtopic feature provided user the ability to add a topic under the existing topic. When adding a new topic under an existing topic, user can provide the name of the new topic and set the permissions for publishing and subscribing for that topic.
Once a subtopic is added , it will direct to the Topic Browsing tree.
If user wants to add a topic directly to the root, user can click on the 'Add' sub menu item under topics menu in the left panel.
Figure 3: Subscribe
All the subscriptions for a particular topic is done in this page. Once a user click on the subscribe link in topic browser, it will directed to this page. To do a subscription to that topic , user has to give some details as bellow;
The default mode for the subscription is "Topic Only". With this mode , user creates the subscription only to the topic. In that mode subscribers only receive events which are published only to the that topic.
Next mode of subscription is "Topic and Immediate child". In this mode subscribers of the topic receives events published not only the specified topic but also to the immediate child of that topic.
Last mode of subscription is "Topic and Children". In this mode subscribers of the specified topic will receive events published to the specified topic and all its children
Figure 4: Topic Details
All the details related with a topic can be viewed in this page.
All the durable and non durable JMS subscriptions are listed here.
This will delete the topic from the server. To delete a topic , subscription count for that topic and its children should be zero. Otherwise it will prompt an error message specifying that there are subscriptions for the topic or its children.