Hello,

I use ActiveMQ CPP (CMS) to manage connections to my ActiveMQ broker.
Previously when I was operating with ActiveMQ 5.13.2, I could connect to the
broker and query the broker's URL (by calling getBrokerURL()) from an
activemq::commands::BrokerInfo object, which is available when onCommand()
is called within my custom DefaultTransportListener class.

This call would return a string value similar to something like
tcp://hostname:61616, where hostname is the name of the server where the
broker was running.

When I upgraded to ActiveMQ 5.15.3, the broker URL now appears as
tcp://0.0.0.0:61616.

Is this a bug, or was the change to the format of the URL intentional? Does
anyone have any thoughts on how I can confirm which broker I am connected
to, especially in cases where my brokers may be clustered, and the
connection may be randomized depending on the load of any one broker?

Thank you.



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

Reply via email to