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 BB30611FDA for ; Wed, 4 Jun 2014 01:42:47 +0000 (UTC) Received: (qmail 97133 invoked by uid 500); 4 Jun 2014 01:42:47 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 97079 invoked by uid 500); 4 Jun 2014 01:42:47 -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 97068 invoked by uid 99); 4 Jun 2014 01:42:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jun 2014 01:42:47 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of christian.posta@gmail.com designates 209.85.215.47 as permitted sender) Received: from [209.85.215.47] (HELO mail-la0-f47.google.com) (209.85.215.47) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jun 2014 01:42:44 +0000 Received: by mail-la0-f47.google.com with SMTP id pn19so3889842lab.6 for ; Tue, 03 Jun 2014 18:42:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=eiZ+CHVpa+2ugA5vEBrGESa84W4fvNbLaYEz/d52Bz0=; b=Y84FWzd3RYLdmWtwdM6tcl0gWGT3Av6hyT/hyOlTcZDh2mj2xalbASbLZBk7wM/R21 tfvOpm3D/MhQ5afR6Jv6+NU53YvL+dDaksXdIb39GLHqY9zwPhDg5RbNXtanXeOLMtOo 4mSsG/1ckg+2bP2ol0rSsMZZNOwY4uPKoJzr8b7ysXSiABQgJDYCMQL3t+3TS0EomWJI eK8AyrNehi6KB1lbkV64xbc/HtWfnaF8Dd7zMMhRT0cUAPtk6/1mKAyfg35dSPWz9DOG huq21RjZGuR4i9VEJIr32qvKyxETFnF3wReELDVgxhFDEehas2nZolFfJiMrCBL19cqL PnZw== MIME-Version: 1.0 X-Received: by 10.152.21.130 with SMTP id v2mr37711600lae.1.1401846140958; Tue, 03 Jun 2014 18:42:20 -0700 (PDT) Received: by 10.112.150.225 with HTTP; Tue, 3 Jun 2014 18:42:20 -0700 (PDT) In-Reply-To: <1401722710877-5751825.post@n5.nabble.com> References: <1401722710877-5751825.post@n5.nabble.com> Date: Tue, 3 Jun 2014 18:42:20 -0700 Message-ID: Subject: Re: camel-elasticsearch component starts up an instance even though IP specified From: Christian Posta To: "users@camel.apache.org" Content-Type: multipart/alternative; boundary=089e0158b6c642fd1a04faf8bda4 X-Virus-Checked: Checked by ClamAV on apache.org --089e0158b6c642fd1a04faf8bda4 Content-Type: text/plain; charset=UTF-8 Open a JIRA and submit your patch. On Mon, Jun 2, 2014 at 8:25 AM, nocturnal3d wrote: > Hi guys, > > I'm using camel 2.13 with the ElasticSearch component > (camel-elasticsearch-2.13). > > I specify the endpoint as such: > > > *elasticsearch://clusterName?operation=INDEX&indexName=indexname&indexType=doctype&ip=127.0.0.1* > > I would have assumed that by specifying the IP address of the ES instance > that the component would not spool up it's own local instance - but, it > does. > > I have looked at the source code and made the following changes in > ElasticsearchEndpoint.java (which seem to work - i.e. component won't spool > up an ES instance if an IP is provided): > > FROM: > > > TO: > > > > This seems to work. Is this a valid bug? or was the intention to spool up > the ES instance no matter what is specified? > > thanks in advance. Jose. > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/camel-elasticsearch-component-starts-up-an-instance-even-though-IP-specified-tp5751825.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta --089e0158b6c642fd1a04faf8bda4--