How to get the address name in Red Hat AMQ 7 via JMX API?
Issue
I would like to get the attributes of a queue in AMQ 7 via JMX API. I am able to get it unless I know the address name. Is there a way to use wildcard for the address name?
For example:
ObjectName myQueue = new ObjectName("org.apache.activemq.artemis:broker=\"amq\",component=addresses,address=\"*\",subcomponent=queues,routing-type=\"*\",queue=\"TEST\"");
I am trying to pass '*' for address and routing type but code is throwing object not found exception.
Environment
Red Hat AMQ 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.