Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 6CDF7200B99 for ; Wed, 5 Oct 2016 10:11:12 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6B63B160ADE; Wed, 5 Oct 2016 08:11:12 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A824A160ADB for ; Wed, 5 Oct 2016 10:11:11 +0200 (CEST) Received: (qmail 35388 invoked by uid 500); 5 Oct 2016 08:11:10 -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 35377 invoked by uid 99); 5 Oct 2016 08:11:10 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Oct 2016 08:11:10 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id F22EF1A0144 for ; Wed, 5 Oct 2016 08:11:09 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -3.69 X-Spam-Level: X-Spam-Status: No, score=-3.69 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URI_HEX=1.313] autolearn=disabled Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id JVxBuUm1iVS1 for ; Wed, 5 Oct 2016 08:11:06 +0000 (UTC) Received: from smtpgw.sap-ag.de (smtpgw04.sap-ag.de [155.56.66.99]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id 5DC495F231 for ; Wed, 5 Oct 2016 08:11:06 +0000 (UTC) From: "Siano, Stephan" To: "users@camel.apache.org" Subject: RE: Add component options to camel-ahc component Thread-Topic: Add component options to camel-ahc component Thread-Index: AQHSHm2bmfbwbnAFUEu2/XwD9+nMJKCZgg3A Date: Wed, 5 Oct 2016 08:11:00 +0000 Message-ID: References: <1475588708854-5788349.post@n5.nabble.com> In-Reply-To: <1475588708854-5788349.post@n5.nabble.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.21.23.232] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 archived-at: Wed, 05 Oct 2016 08:11:12 -0000 Hi, I am not sure whether I understand your question correctly. https://example= .com/v1/hello?apiKey=3Daaaaa&throwExceptionOnFailure=3Dfalse will set the t= hrowExceptionOnFailure endpoint option to false (and forward the apiKey par= ameter to the server). Component options are set on the component level and= apply to all endpoints unless they are overwritten by endpoint options. Best regards Stephan -----Original Message----- From: prabhuj [mailto:prabhu.undefined@gmail.com]=20 Sent: Dienstag, 4. Oktober 2016 15:45 To: users@camel.apache.org Subject: Add component options to camel-ahc component If my endpoint is "https://example.com/v1/hello?apiKey=3Daaaaa", How do i a= dd ahc component options (e.g., throwExceptionOnFailure) ? https://example.com/v1/hello?apiKey=3Daaaaa&throwExceptionOnFailure=3Dfalse= ? How would ahc differentiate the actual endpoint vs component options ? -- View this message in context: http://camel.465427.n5.nabble.com/Add-compone= nt-options-to-camel-ahc-component-tp5788349.html Sent from the Camel - Users mailing list archive at Nabble.com.