Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3FF5898E3 for ; Tue, 7 Feb 2012 09:07:15 +0000 (UTC) Received: (qmail 16032 invoked by uid 500); 7 Feb 2012 09:07:14 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 15474 invoked by uid 500); 7 Feb 2012 09:07:03 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 15446 invoked by uid 99); 7 Feb 2012 09:07:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Feb 2012 09:07:01 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of iocanel@gmail.com designates 74.125.82.51 as permitted sender) Received: from [74.125.82.51] (HELO mail-ww0-f51.google.com) (74.125.82.51) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Feb 2012 09:06:54 +0000 Received: by wgbdy1 with SMTP id dy1so5127081wgb.20 for ; Tue, 07 Feb 2012 01:06:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:mime-version:content-type:subject:date:in-reply-to:to :references:message-id:x-mailer; bh=NcX5jWMIb4DTmSBERgyhsrh6AEJLntUUt0triOBApqc=; b=a814pB5g3a0nfgsyyqgcirhkSZohbRAthUZKPaSee04AIqV3wQ9Z1XP3XfCIYrL1oy 0Zv2j/j1mk4J7QAfqWd1dOJK/bR2UclMp4pfqFQmUwb7Z9NKDpOV9w7z3vGUl62EyfNB Ed01oDaXyOC8EpHwhVFDzVXrc6xNC2p7PwbPA= Received: by 10.180.108.232 with SMTP id hn8mr32723009wib.16.1328605593606; Tue, 07 Feb 2012 01:06:33 -0800 (PST) Received: from [192.168.1.5] (athedsl-91306.home.otenet.gr. [87.203.109.248]) by mx.google.com with ESMTPS id ho4sm30767602wib.3.2012.02.07.01.06.32 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 07 Feb 2012 01:06:32 -0800 (PST) From: Ioannis Canellos Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: multipart/alternative; boundary="Apple-Mail=_499E25FD-2408-4E8E-A895-7F4235B04844" Subject: Re: ZooKeeper Component Failover Date: Tue, 7 Feb 2012 11:06:29 +0200 In-Reply-To: To: users@camel.apache.org References: Message-Id: <29647991-2680-4705-9420-E0932C7A0780@gmail.com> X-Mailer: Apple Mail (2.1251.1) --Apple-Mail=_499E25FD-2408-4E8E-A895-7F4235B04844 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 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 =3D new ZooKeeperConfiguration(); configuration.setServers(serversList); ZooKeeperComponent zookeeper =3D 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 --Apple-Mail=_499E25FD-2408-4E8E-A895-7F4235B04844--