1 Reply Latest reply on Feb 22, 2008 2:50 PM by Tim Fox

    Determining the number of messages in a topic

    john miller Newbie

      Hello,

      What's the best way to determine the number of messages in a topic? I know you can use a QueueBrowser to enumerate the messages in a Queue, but there is no TopicBrowser.

      Thanks.

        • 1. Re: Determining the number of messages in a topic
          Tim Fox Master

          Well.. topics don't hold on to messages, so it wouldn't make sense to browse them.

          You can create multiple subscriptions on a particular topic, and it might make sense to browse them but JMS doesn't provide any such functionality.

          However with JBM you can use the JMX management interface to see what particular subscriptions contain (see user guide).