The Durable Subscriptions node displays the list of client IDs (of the Durable Subscribers) that exist on the server. The FioranoMQ Administrator can unsubscribe or delete all pending messages of an inactive durable subscriber through this node.
25.3.1 Viewing Durable Subscriptions
- The Client node in the profile tree corresponds to the Durable Subscribers. It lists the offline and the online Client IDs on which the Durable Subscription currently running.
- To view the Durable Subscribers, run the sample PubSub/ DurableSubscribers and refresh the Client node. This displays the list of clients as shown in the figure below. On selecting Clients, the properties pane displays whether the client is Active or Inactive.
3. Double-click the Client ID to view the Subscription ID. (Shut down the DurableSubscriber sample and not the Publisher). You can send messages from the Publisher. Now right-click the SubscriptionID and select Browse messages. The following window appears with the messages sent from the Publisher.
25.3.2 Purging Messages of the Durable Subscriptions
The administrator can delete pending messages for all subscribers of the selected clientID. To delete pending messages, execute the following steps:
- Select the Durable Subscriptions node from the Server Explorer pane.
- Select the ClientID shown under the Durable Subscriptions node.
- Right-click and select the Purge option from the pop-up menu.
25.3.3 Refreshing Durable Subscriptions
The list of Durable Subscriptions can be refreshed by following the following steps:
- From the Server Explorer, select the Durable Subscriptions node.
- Right-click and select the Refresh option from the pop-up menu.