Products | Versions |
---|---|
TIBCO BusinessEvents Enterprise Edition | - |
Not Applicable | - |
Resolution:
Description:
==========
I observed that Java Messaging Service(JMS) Channel listeners (durable subscribers) still remain on topic even though BE Engines were Stopped/killed. Additionally, messages do not get consumed and accumulated on the topics. How to clean up the topics?
Environment:
===========
TIBCO BusinessEvents
TIBCO Enterprise Message Service
Cause:
======
Durable subscribers remain on topic when BE engines(JMS Clients) brought down. This is an expected behavior. A durable subscriber ensures messages published to a topic are received by the subscriber, even if it is not currently running. According to the JMS documentation, once it gets created, such durable subscribes will only be removed when it is "unsubscribed" or manually deleted.
Resolution:
=========
Run the following command from the EMS Administrator tool and you will find that the status of the durable is <offline>:
show durables
You can manually delete durables through the EMS Administrator with the following command:
delete durable <durable-name> [<client ID>]
If you don't want to create a BE JMS Channel listener as a durable subscriber, do not provide a value for "Durable Subscriber Name" and the destination will be a non-durable topic subscriber.