[ 
https://issues.apache.org/jira/browse/CAMEL-7363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13968120#comment-13968120
 ] 

Stephan Siano commented on CAMEL-7363:
--------------------------------------

BTW: There was even a unit test for this, however it contained a bug: the test 
route just returned all the request headers in the HTTP response, so the 
headers were passed through via the server.

> camel headers are not preserverd in camel-ahc component
> -------------------------------------------------------
>
>                 Key: CAMEL-7363
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7363
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-ahc
>    Affects Versions: 2.12.3, 2.13.0
>            Reporter: Stephan Siano
>         Attachments: 
> 0001-CAMEL-7363-camel-headers-are-not-preserverd-in-camel.patch
>
>
> The documentation of the camel-ahc component states:
> ... All headers from the IN message will be copied to the OUT message, so 
> headers are preserved during routing. Additionally Camel will add the HTTP 
> response headers as well to the OUT message headers.
> However this is not true. Camel headers are not copied from the in to the out 
> message.
> I have looked up other components doing http requests (http4 and cxf) and 
> these components do copy the headers from the in to the out message.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to