Package | Description |
---|---|
org.apache.camel.component.zookeeper.policy |
Modifier and Type | Class and Description |
---|---|
class |
CuratorLeaderRoutePolicy
CuratorLeaderRoutePolicy uses Apache Curator LeaderElection recipe to implement the behavior of having
at max 1 instance of a route, controlled by a specific policy, running. |
class |
CuratorMultiMasterLeaderRoutePolicy
CuratorMultiMasterLeaderRoutePolicy uses Apache Curator InterProcessSemaphoreV2 receipe to implement the behavior of having
at multiple active instances of a route, controlled by a specific policy, running. |
class |
ZooKeeperRoutePolicy
ZooKeeperRoutePolicy uses the leader election capabilities of a
ZooKeeper cluster to control how routes are enabled. |
Modifier and Type | Method and Description |
---|---|
boolean |
ZooKeeperElection.addElectionWatcher(ElectionWatcher e) |
boolean |
CuratorMultiMasterLeaderElection.addElectionWatcher(ElectionWatcher e) |
boolean |
CuratorLeaderElection.addElectionWatcher(ElectionWatcher e) |
boolean |
ZooKeeperElection.removeElectionWatcher(ElectionWatcher o) |
Apache Camel