RE: Http4 Set Header Content-Type not passing through to the HTTP Request

2014-01-25 Thread E. A. English
Hi Ravi,Regarding your response below:The question is:Why does header Content-Type=application/jsonchange toContent-Type=text/xml???We need for "Content-Type=application/json" to be propragated to the response.It seems to be somehow filtered, or otherwise changed to "Content-Type=text/xml"./Y

RE: Http4 Set Header Content-Type not passing through to the HTTP Request

2014-01-25 Thread E. A. English
Hi Ravi, Regarding your response below - The question is: Why does header Content-Type=application/json change to Content-Type=text/xml ??? We need for "Content-Type=application/json" to be propragated to the response. It seems to be somehow filtered, or otherwise changed t

Http4 Set Header Content-Type not passing through to the HTTP Request

2014-01-23 Thread E. A. English
Hi, setting the Content-type header for Http4 Camel Route - Message headers from the IN message are not being copied to the OUT message Using Camel Version 2.12.2 example http4 route code: from("timer://foo?fixedRate=true&delay=0&period=1") .setHeader(Exchange.CONTENT_TYPE, consta