Hi Aaron,

there are no direct notification messages generated for cluster’s topology
changes. The management API to get list of nodes in the cluster’s topology
is 
org.apache.activemq.artemis.api.core.management.ActiveMQServerControl.listNetworkTopology()
[1], see the management documentation [2].

[1]
https://github.com/apache/activemq-artemis/blob/2.21.0/artemis-core-client/src/main/java/org/apache/activemq/artemis/api/core/management/ActiveMQServerControl.java#L1846

[2]
https://activemq.apache.org/components/artemis/documentation/latest/management.html

Regards,
Domenico

On Mon, 4 Apr 2022 at 04:35, Steigerwald, Aaron
<asteigerw...@brandesassociates.com.invalid> wrote:

> Hello,
>
> Do any of the ActiveMQServerPlugin methods get called for all live nodes
> when a cluster’s topology changes, such as when one master node crashes and
> its slave becomes live? Are any management notification messages generated
> for the same situation? I looked in the code and it looks like the
> CLUSTER_CONNECTION_STOPPED notification is generated on the broker that is
> removed from a cluster gracefully, but it doesn’t look like the same
> message is generated for other nodes in the cluster.
>
> Also, what broker Java method provides the current active (live and
> standby) nodes in the cluster’s topology?
>
> Thank you,
> Aaron Steigerwald
>

Reply via email to