2 Replies Latest reply on Apr 28, 2017 1:21 AM by Scott Reisdorf

    How to add a new ClusteringService Listener?

    Scott Reisdorf Newbie

      I would like to add a listener to the CluserService to get notified when a new member connects/disconnects the jgroups Modeshape cluster.

      I see in the code on the ClusteringService there is a listener mechanism, however I am unclear how I can go about getting access to the ClusteringService Java Object and add my own Listener.


      Do you have any suggestions?


      I am using Modeshape 5.x in a clustered environment outside of Wildfly.