mirror of
https://github.com/apache/activemq-artemis.git
synced 2025-02-11 04:25:52 +00:00
If both scale-down and cluster-connection are using the same JGroups discovery-group then when the cluster-connection stops it will close the underlying org.jgroups.JChannel and when the scale-down process tries to use it to find a server it will fail. This commit ensures that the JGroupsBroadcastEndpoint implementation of BroadcastEndpoint#openClient initializes the channel if it has been closed.