Hello. I'm working on my first JMS project, which is a chat program. I would like to know if there's a way to get a list of the subscribers to a topic. I've searched the API, and haven't found the answer. Also, is there a way to set a listener that would be notified whenever a subscriber joined or exited a topic?
Thanks in advance,
Brian
Nope, not known of.
You could ofcource use filtering and require the client to put a message on the topic with a specific property you could filter on and see to it that these type of messages do no end up in the chat but somewhere else.
//Peter