简体   繁体   中英

JMS topic get clientID's

Can i get ClientID's of all jms topic subscribers? I use Jboss AS 6 (HornetQ).

Off course, i can send query to all of them and read replies, but i'm looking for more elegant solution.

With HornetQ you can list all the core-queues using JMX-management.

You can just list the queues under org.hornetq.core (on the JMX view). The client-id will just be part of the name.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM