Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我可以获得所有 jms 主题订阅者的 ClientID 吗?我使用 Jboss AS 6 (HornetQ)。
当然,我可以向所有人发送查询并阅读回复,但我正在寻找更优雅的解决方案。
使用 HornetQ,您可以使用 JMX 管理列出所有核心队列。
您可以只列出 org.hornetq.core 下的队列(在 JMX 视图上)。客户端 ID 只是名称的一部分。