Hi,

im using version 2.0-M2 and the HTTP component documentation says:

All headers from the IN message will be copied to the OUT message, so
headers are preserved during routing.

But when i process the IN message after an HTTP component always all headers
are lost
and only the HTTP response headers are populated

For example i have the following header in the IN message:
postPartnerServiceSlip =
file:c:/ttf/log/postPartnerService?fileName=message.xml

after processing of the HTTP component only the following headers exists,
but no postPartnerServiceSlip header:

Content-Length = 3616
CamelContentType = text/html; charset=utf-8
CamelHttpResponseCode = 403
Connection = Keep-Alive

I looked at the
org.apache.camel.component.http.HttpProducer.populateResponse() method
and also could not find the code that copies the IN headers to the OUT
message.


thanks for your help 

-- 
View this message in context: 
http://www.nabble.com/HTTP-component-and-IN-head-loss-tp24393415p24393415.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to