camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ioannis Canellos <ioca...@gmail.com>
Subject Re: ZooKeeper Component Failover
Date Tue, 07 Feb 2012 09:06:29 GMT
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


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message