The component uses a ZookeeperConfiguration object, on which you can add as 
many servers as you wish. So it would be something like this:

ZooKeeperConfiguration configuration = new ZooKeeperConfiguration();
configuration.setServers(serversList);
ZooKeeperComponent zookeeper = new ZookeeperComponent();
zookeeper.setConfiguration(configuration);

and so on...



Ioannis Canellos
FuseSource

Blog: http://iocanel.blogspot.com
Apache Karaf Committer & PMC
Apache Camel Committer
Apache ServiceMix  Committer
Apache Gora Committer
Apache DirectMemory Committer

Reply via email to