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: Proxying web services
Date Tue, 16 Sep 2008 23:46:16 GMT
Hi Micheal,

The CAMEL-766[1] will explain this stripping for handling the 
"ProtocolHeaders".
You can override the HttpHeaderFilterStrategy yourself and inject it 
into the http component.

[1] https://issues.apache.org/activemq/browse/CAMEL-766

Willem
Michael.Murphree wrote:
> One more item on this.  In camel-http (1.4.0 and 1.5.0), the HttpBinding
> class deliberately filters out the Content-Type header on the HttpResponse
> object.  This causes a web service response to fail.  Why does the binding
> strip out the "Content-Type" header from the response?
>
> Is there a way to add it back in short of touching that code?
>
> Regards,
>
> Michael
>   


Mime
View raw message