The MBean object name for the queue is:

/org.apache.activemq.artemis:broker="artemis-server",component=addresses,address="Step-Event"/.
 

After recreating the object name with:

/ObjectName objName =
ObjectNameBuilder.create(ActiveMQDefaultConfiguration.getDefaultJmxDomain(),
"artemis-serve").getActiveMQServerObjectName();/

Now everything works fine. I can see messages being diverted to tempAddress.
Thank you.



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Reply via email to