Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 54442 invoked from network); 5 Aug 2009 00:09:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Aug 2009 00:09:38 -0000 Received: (qmail 32057 invoked by uid 500); 5 Aug 2009 00:09:43 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 32006 invoked by uid 500); 5 Aug 2009 00:09:42 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 31992 invoked by uid 99); 5 Aug 2009 00:09:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Aug 2009 00:09:42 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of willem.jiang@gmail.com designates 209.85.198.241 as permitted sender) Received: from [209.85.198.241] (HELO rv-out-0708.google.com) (209.85.198.241) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Aug 2009 00:09:32 +0000 Received: by rv-out-0708.google.com with SMTP id c5so1524240rvf.56 for ; Tue, 04 Aug 2009 17:09:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=IeWvhhaY32cLfjcylKH6HYEwe3R7LBij0GC9V5rgPU8=; b=AF5Tcl7+WqrBsfk0s99aJTsUyPdZmDtywHDGLHaudkiTgZiiupdz/JuDngELNeCoGK lTkC/fPRmHG1eJwg8g5Gx9P8UPEz78oggEnO0/2aXZloFw7Jd3N6g40ykfMsZJEY1u8e odgZFUv9hblfJ3oGOuTHiBrT/Okb2ABWCY7vo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=TlVOkRIxthTkNvWWlI9a3iDXcEVaQsHLZ06jRJkp/wYqOGnl9vOnphYivAUEPL3mVU eqRo1tIh2gbqTjGKLrwXEDRMLnJiZNXI47WZZTeaUrb3EXKHmDDDEM2fmEZSOvFbwbsB 9l+PRMOU205cwcbE0t/n33FPA97ti9DkrvON8= Received: by 10.141.29.16 with SMTP id g16mr5721729rvj.214.1249430951027; Tue, 04 Aug 2009 17:09:11 -0700 (PDT) Received: from ?192.168.0.158? ([221.223.251.229]) by mx.google.com with ESMTPS id l31sm1962045rvb.14.2009.08.04.17.09.08 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 04 Aug 2009 17:09:10 -0700 (PDT) Message-ID: <4A78CD95.6090004@gmail.com> Date: Wed, 05 Aug 2009 08:08:53 +0800 From: Willem Jiang User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605) MIME-Version: 1.0 To: dev@camel.apache.org Subject: Re: [HEADUP] cxfbean header change References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi William, I think it should be OK as the header is new to Exchange. And you may need to go through the http transport related components to make this header really work :) Willem William Tam wrote: > I am proposing to replace component local header > "CamelCxfBeanRequestBasePath" in cxfbean by a new header > "CamelHttpBaseUri" to be defined in Exchange.java. That can improve > interoperability between components that deal with HTTP/REST. Let me > know if there is any concerns. Thx. > > - William > > > > Index: camel-core/src/main/java/org/apache/camel/Exchange.java > =================================================================== > --- camel-core/src/main/java/org/apache/camel/Exchange.java (revision 800771) > +++ camel-core/src/main/java/org/apache/camel/Exchange.java (working copy) > @@ -69,6 +69,7 @@ > > String GROUPED_EXCHANGE = "CamelGroupedExchange"; > > + String HTTP_BASE_URI = "CamelHttpBaseUri"; > String HTTP_CHARACTER_ENCODING = "CamelHttpCharacterEncoding"; > String HTTP_METHOD = "CamelHttpMethod"; > String HTTP_PATH = "CamelHttpPath"; >