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 Wed, 31 Mar 2010 09:15:48 GMT
Yes, we need to update the wiki page for 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