-
Bug
-
Resolution: Obsolete
-
Minor
-
None
-
AMQ 7.1.0.GA
-
None
When creating new divert using
getServerControlMBean().createDivert(divertName, routingName, addressName, forwardingAddress, exclusive, selector, transformerClass, routingType);
a new "quoted" address is created, which is not showed in getAddresses() or any call in broker. They are completely missed out by broker.
Example of AMQX client call, which will create such a weird address (with only divert on it).
java -jar amqx.jar divert --host <hostip> -a add --name div -o routingName --address lalaQ -f lala -e true -b "0.0.0.0"
Once this is created, you can navigate through hawtio console, and clearly see everything is there as should be. But once you list addresses(), such address is missed out from there.
Even mbean "object path" is there correct:
org.apache.activemq.artemis:broker="0.0.0.0",component=addresses,address="lalaQ",subcomponent=diverts,divert="div"