[prev in list] [next in list] [prev in thread] [next in thread] 

List:       activemq-users
Subject:    Re: Artemis client "get broker name"
From:       Justin Bertram <jbertram () apache ! org>
Date:       2022-05-03 3:35:54
Message-ID: CAF+kE=Rf1JWQJPt77v-S_QYYt=sqLc1Ybs_1FLBZmb7WeZriXw () mail ! gmail ! com
[Download RAW message or body]


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
<asteigerwald@brandesassociates.com.invalid> 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
>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic