Thanks for your answer

>> how to retrieve the list of Queues and Topics from an Artemis v2.0.0 server?
>
> I think you'll be good to just use 
> org.apache.activemq.artemis.api.core.management.ResourceNames.BROKER rather 
> than JMS_SERVER with your existing code.

It will not work...
Given the v1.5.x doc, JMS_SERVER (="jms.server") is linked to the
"org.apache.activemq.artemis.api.jms.management.JMSServerControl"
control class. This class has amongst many other methods, 2 methods
named "getQueueNames()" and "getTopicNames()"
This class has been removed from v2.0.0
I wasn't able to find to what control class the BROKER (="broker")
value is associated to in v2.0.0...

I was not able to find also if the methods from the JMSServerControl
that has been removed are available somewhere else in v2.0.x

So the question is still there, how to retrieve the list of topics and
queues from a v2.0.x Artemis server from a client?

Thanks

Denis (Author of JMSToolBox on sourceforge)

Reply via email to