Durable subscribers still remain on topic even though TIBCO BusinessEvents(BE) Engines were killed/Stopped.

Durable subscribers still remain on topic even though TIBCO BusinessEvents(BE) Engines were killed/Stopped.

book

Article ID: KB0090671

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

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 &ltoffline>:
    show durables
  
You can manually delete durables through the EMS Administrator with the following command:
    delete durable      &ltdurable-name> [&ltclient 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.

Issue/Introduction

Durable subscribers still remain on topic even though TIBCO BusinessEvents(BE) Engines were killed/Stopped.