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.
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).