Tim Anderson - 2005-10-06

Logged In: YES

Unlike queues, topics only hold messages for consumers that are
active. A topic consumer only sees the messages that were
published on or after the time that the consumer was created.

It is therefore not possible to determine how many messages are
pending with having an instance of a TopicSubscriber (or durable
subscription name).

To support non-durable subscribers, a method would need to be
added to JmsAdminServerIfc along the lines of:
int getMessageCount(MessageConsumer consumer);