The ZooKeeper component allows interaction with a ZooKeeper cluster and exposes the following features to Camel:
- Creation of nodes in any of the ZooKeeper create modes.
- Get and Set the data contents of arbitrary cluster nodes.
- Create and retrieve the list the child nodes attached to a particular node.
- A Distributed RoutePolicy that leverages a Leader election coordinated by ZooKeeper to determine if exchanges should get processed.
Maven users will need to add the following dependency to their
<dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-zookeeper</artifactId> <!-- use the same version as your Camel core version --> <version>x.x.x</version> </dependency>