The WSO2 MB management console provides capability to create/delete topics and subtopics and to subscribe to topics through a simplified UI. Users can view all the topics available in the server in a tree view and perform various management operations with point-and-click simplicity.
Follow the instructions in the sections below to view and manage topics and subscriptions.:
Table of Contents | ||||
---|---|---|---|---|
|
Adding
...
topics
1. Log in to the management console and click Topics -> Add in the Main tab.
...
Topics created by external client applications are listed the same way in a tree view when you are in the default "Super Tenant" mode. When a topic is created from a tenant other than the super tenant, the topic appears inside the tenant domain name in the tree view. For example, if the tenant domain is "a.com" and the topic name is "myTopic", the topic is displayed as follows:
The following operations are available for a particular topic:
Table of Contents | ||||
---|---|---|---|---|
|
Adding Subtopics
5. User
Adding subtopics
You can add a subtopic under an existing topic by clicking Add Subtopic in the Topic Browser window. The information that should be provided when adding a subtopic is the same as when adding a main topic, as described in step 2.
6. Once a subtopic is added, it will be displayed in the Topic Browser window under the main topic.
...
To add a topic directly to the root, refer to step 2.
Subscribing to a topic
7. User You can subscribe to a topic by clicking Subscribe in the Topic Browser window.
8. The Subscribe window appears, through which all subscriptions for a particular topic can be done.
...
Parameter | Description |
---|---|
Topic | Does not need to be specified again as it is automatically set. |
Subscription Mode | Specify whether to subscribe to this topic only or to hierarchical topics.
|
Event Sink URL | URL which the subscriber should provide to receive events published. When events are published to the topic, they are sent to the URL specified here. |
Expiration Time | User can specify the expiration time of the subscription. This is not a mandatory parameter, and if user leaves it blank, the subscription will be active indefinitely. |
Viewing
...
details
9. User You can view the details of a topic by clicking Details in the Topic Browser window.10. The Topic Details window opensappears.
The following table shows descriptions of the parameters on this page:
Detail | Description |
---|---|
Permission Details | Permissions related to the topic can be viewed here. Permissions can be changed by clearing or selecting the provided check boxes and clicking Update Permissions once done. |
WS Subscription Details | All the WS subscriptions for the topic and its children are listed here. The following links are associated with each WS subscription.
|
JMS Subscription Details | All the durable and non durable JMS subscriptions are listed here. |
Publish | Publish a sample XML message to a topic. When there is a subscription for the topic, the event sink URL receives the XML message specified here. Click the Publish button after placing the XML message in the provided space. |
Deleting a topic
Deletes the topic from the server. To delete a topic, the subscription count for that topic and its children should be zero. If not, an error message appears specifying that there are subscriptions for the topic or its children.