Products | Versions |
---|---|
TIBCO Enterprise Message Service | - |
Not Applicable | - |
Resolution:
Description:
= = = = = = =
How to detect that there are no consumers to a particular queue and discard the messages from that queue.
Environment:
= = = = = =
All
Resolution:
= = = = = =
There is no in-built mechanism in EMS to detect a queue which does not have any listener and purge all the messages on that queue. However, using the EMS Admin APIs, it is very simple to create a java application that will periodically scan all queues and will purge a queue if it does not have a listener.
Keywords:
= = = = = =
Queue consumer