Hello,

Thank you for your reply. I'm looking for the <name> from broker.xml. Both the 
"nodeID" and "live" are listed in the JSON output of 
ActiveMQServerControl.listNetworkTopology(). "live" has been the broker.xml 
<name> in my testing.

Thanks again,
Aaron Steigerwald

-----Original Message-----
From: Justin Bertram <[email protected]> 
Sent: Monday, May 2, 2022 11:36 PM
To: [email protected]
Subject: [EXTERNAL]:Re: Artemis client "get broker name"

[CAUTION: This email originated from outside of the organization. Do not click 
links or open attachments unless you recognize the sender and know the content 
is safe.] ________________________________


Are you talking about the actual name of the broker that's configured via 
<name> in broker.xml or the node ID that's automatically generated and returned 
from listNetworkTopology()? If the latter you can use 
ActiveMQServerControl.getNodeID(). If the former, there's no management 
operation to get that.


Justin

On Mon, May 2, 2022 at 9:46 PM Steigerwald, Aaron 
<[email protected]> wrote:

> Hello,
>
> Is there any way to get the Artemis broker name from an Artemis core 
> or JMS connection? I don't think you can get it through the management API.
> It's available in activeMQServerControl.listNetworkTopology() but I'd 
> like to also be able to get it from a non-clustered node.
>
> Thank you,
> Aaron Steigerwald
>

Reply via email to