Products | Versions |
---|---|
TIBCO Enterprise Message Service | - |
Not Applicable | - |
Resolution:
Resolution:
= = = = = = =
When you execute the ‘show server’ command in the TIBCO EMS Admin tool, the number of pending messages you see on the server is the actual number of messages pending system wide. On the other side, the ‘pending message’ on topics is the sum of the number of messages pending multiplied by number of subscriber per topic.
In general, some of the messages might have been confirmed by some subscribers therefore the direct division might not yield a complete integer. For example, if a publisher published 2 messages on a topic and there are 5 subscribers. If no messages are confirmed then there will be 10 messages pending on the topic and 2 messages pending on the server. Now, one consumer confirmed one message. There will be 9 pending messages on the topic, 2 messages on the server, and 5 subscribers to the topic. In this case the division does NOT result in an integer (9/5 = 1.8).
There is a known issues related to this topic:
EMS-4742 Fixed a message miscount issue that can occur under specific thread timing conditions during the purging of a destination