I am creating a small statistics application for the Java Message Service. I have a container with several topics and many subscribers (consumers) for each topic.
JMS Provider: SonicMQ
I got the program in a state in which I:
- Create session
- Create MessageConsumer for Theme
- Listen to messages
- Collect statistics
And it works fine.
But the key part of the program is missing: how to determine the number of subscribers to a particular topic?
I plowed the JMS documentation, but to no avail. I was hoping that someone had fought this windmill before ... Any ideas or confirmation that this could not be welcomed.
source
share