rdp4j
rdp4j copied to clipboard
Start Listener in only one cluster in multi host multi cluster environment
We are adding file poll listener while starting of the server. In multi cluster environment(ex clust1, clust2), Listener is getting added in two clusters. When a file is being added to directory/path, two listener(listeners from clust1 and clus2 ) are getting invoked and two times fileAdded method is calling. Please help me how to avoid this situation getting called two times.