Return-Path: Delivered-To: apmail-camel-users-archive@www.apache.org Received: (qmail 45603 invoked from network); 2 Apr 2010 00:25:59 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Apr 2010 00:25:59 -0000 Received: (qmail 13688 invoked by uid 500); 2 Apr 2010 00:25:59 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 13659 invoked by uid 500); 2 Apr 2010 00:25:59 -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 13651 invoked by uid 99); 2 Apr 2010 00:25:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Apr 2010 00:25:59 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of willem.jiang@gmail.com designates 209.85.221.203 as permitted sender) Received: from [209.85.221.203] (HELO mail-qy0-f203.google.com) (209.85.221.203) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Apr 2010 00:25:51 +0000 Received: by qyk41 with SMTP id 41so899857qyk.6 for ; Thu, 01 Apr 2010 17:25:30 -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=/wD8Bc/TRgrzipNg8kPvoZ/D8eGT/kJ4qgvusHM6Lo4=; b=gEX6Yf5gl86PiHYEO/ol5FMFZMPe8hEDnUS8djcDsCYYmukQuN1alvWbuLy1FF80iy z67GuX4+pfcrIbw68NbqoM0Y5+WkyF3Ao8OYJYmVP5vOBp0OYas+J9ewpfRofb9t/S/a 1FGwNR/vK9vVqDAb6ReKCiFLTcWLTDb2AdsjY= 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=UPBhq/4fy1NWjiEg4B/Sp34pytOohuK5U2j2vMcEA/otu/lJtY63wgGIA7eUTAUn8C 2064/PbfpNdC4jEHZw8KfwUoOa/p5RnJWOFGp+zm3Vxu8WpKfta3OFIJuLrwLlgET8P2 siVJryh9TCgGsXS0LEhOqw5vqOLjoQaS2fDbg= Received: by 10.229.193.18 with SMTP id ds18mr2391758qcb.14.1270167930115; Thu, 01 Apr 2010 17:25:30 -0700 (PDT) Received: from [192.168.0.158] ([125.34.6.5]) by mx.google.com with ESMTPS id y41sm189898qce.5.2010.04.01.17.25.27 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 01 Apr 2010 17:25:28 -0700 (PDT) Message-ID: <4BB53962.3050400@gmail.com> Date: Fri, 02 Apr 2010 08:25:06 +0800 From: Willem Jiang User-Agent: Thunderbird 2.0.0.24 (Macintosh/20100228) MIME-Version: 1.0 To: users@camel.apache.org Subject: Re: issue with HTTP response content length being set to CXF request length - causing truncated responses. References: <270858e91003011122t3d3e3453k4f1ef642216c9b4f@mail.gmail.com> <4B8C879D.70309@gmail.com> <270858e91003072237n7f694dbence767bcf73d3c7ea@mail.gmail.com> <28088048.post@talk.nabble.com> <4BB2A6B8.6060608@gmail.com> <28092929.post@talk.nabble.com> <4BB32D07.7070409@gmail.com> <28107784.post@talk.nabble.com> <4BB4B21A.8020405@gmail.com> <28111197.post@talk.nabble.com> In-Reply-To: <28111197.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, I'm doing the daily development of camel on the MacOSX. Can you tell me how do get the Camel 2.3.0-SNAPSHOT ? It will be helpful for use to trace the issue. Willem zigo wrote: > What platform are you testing on? > > I have seen that this problem manifests only on MacOS, tests done on Windows > work without removing the Content-Length. > > Anyway, I will try compiling the trunk. > > Alberto > > > > willem.jiang wrote: >> Hi, >> >> Can you build the trunk code yourself ? >> My test is working[1], I'm doubt there are something wrong with SNAPSHOT >> publish. >> >> [1] http://svn.apache.org/viewvc?rev=929475&view=rev >> >> Willem >> >> zigo wrote: >>> Willem, >>> >>> I have tried with the latest 2.3-SNAPSHOT, but unfortunately the problem >>> is >>> still there. >>> >>> Alberto >>> >>> >>> willem.jiang wrote: >>>> FYI, I create a JIRA[1] for this issue and committed a quick fix for it. >>>> Please feel free to check out the latest Camel 2.3.0-SNAPSHOT to verify >>>> it. >>>> >>>> Willem >>>> >>>> zigo wrote: >>>>> Willem, >>>>> >>>>> my route is this: >>>>> >>>>> >>>>> >>>>> >>>> uri="cxf:bean:gtEndpoint?serviceName={http://foo.com}gt_connector&dataFormat=MESSAGE"/> >>>>> >>>>> >>>>> >>>>> >>>>> >>>> uri="jms:GT.IN?replyTo=GT.OUT&deliveryPersistent=false&useMessageIDAsCorrelationID=true" >>>>> /> >>>>> >>>>> >>>>> >>>>> I think this issue should be considered a bug, or at least pointed out >>>>> in >>>>> Camel documentation. >>>>> >>>>> Alberto >>>>> >>>>> >>>>> willem.jiang wrote: >>>>>> We filter the message header of "Content-Length" from camel to cxf. >>>>>> If you just pass the message to the other camel endpoint, I'm afraid >>>>>> you >>>>>> need to remove it you self. >>>>>> >>>>>> Willem >>>>>> >>>>>> zigo wrote: >>>>>>> I am still having the same problem using: >>>>>>> >>>>>>> - Camel 2.2.0 >>>>>>> - CXF 2.2.6 >>>>>>> - Mac OS 10.6.2 >>>>>>> >>>>>>> Workaround (removing http header) works for me. >>>>>>> >>>>>>> Alberto >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> wkeenan wrote: >>>>>>>> On Tue, Mar 2, 2010 at 3:35 AM, Willem Jiang >>>>>>>> >>>>>>>> wrote: >>>>>>>> >>>>>>>>> Hi >>>>>>>>> Can you check out the latest released Camel 2.2.0 ? >>>>>>>>> >>>>>>>> working on camel 2.2.0, CXF 2.2.6 on Mac10.6 >>>>>>>> >>>>>>>> Thanks, >>>>>>>> Wayne >>>>>>>> >>>>>>>> >>>> >> >> >