camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <willem.ji...@gmail.com>
Subject Re: issue with HTTP response content length being set to CXF request length - causing truncated responses.
Date Thu, 01 Apr 2010 14:47:54 GMT
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:
>>>
>>> <camelContext id="camel" xmlns="http://camel.apache.org/schema/spring">
>>> 		<route>
>>> 			<from
>>> uri="cxf:bean:gtEndpoint?serviceName={http://foo.com}gt_connector&amp;dataFormat=MESSAGE"/>
>>> 			
>>> 			<!-- Workaround to a Camel bug -->
>>> 			<removeHeader headerName="Content-Length" />
>>> 			<convertBodyTo type="String" />
>>> 			<to
>>> uri="jms:GT.IN?replyTo=GT.OUT&amp;deliveryPersistent=false&amp;useMessageIDAsCorrelationID=true"
>>> />
>>> 		</route>
>>> 	</camelContext>
>>>
>>> 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 <willem.jiang@gmail.com>
>>>>>> 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
>>>>>>
>>>>>>
>>>>
>>
>>
> 


Mime
View raw message