Hi Nipuna, Think you can check for the coordinator in clustering agent. There will be only one coordinator for a cluster domain. Clustering agent is in AxisConfiguration which is in server configuration context.
Thanks Danesh On Mon, Jan 18, 2016 at 6:24 PM, Nipuna Prashan <[email protected]> wrote: > Hi all, > > I am building an osgi component for tenant deletion task. This will be > deployed in every server (APIM, AS, AF, BAM, IS..). I have a requirement to > do this task in one node in the cluster while there is no single point of > failure. Only one node should start deletion while other nodes waiting on > the same server. > Is there a way to find the leader node/ contributor in a cluster? Any help > would be appreciated. > > > > -- > *Nipuna Prashan* > Software Engineering Intern > +94711852792 > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Danesh Kuruppu Software Engineer WSO2 Inc, Mobile: +94 (77) 1690552
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
