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

Willem Jiang edited comment on CAMEL-6865 at 3/31/14 2:17 AM:
--------------------------------------------------------------

Hi Daniel,

I think the question that you mentioned is not directly related to this JIRA. 

I think copy the HTTP header into camel message header is OK, but copy all the 
camel message headers to HTTP is not good option. 

CXF drops a line between the protocol headers and logical context headers,  I 
think we can use it as a reference in camel-cxfrs producer side to avoid 
copying camel headers which don't relate to the HTTP protocol to HTTP.

If you don't want to camel-cxf producer route the message out, you can set the 
message header  with the key which is start with Camel. In this way , camel can 
treat it as a internal logical context header and it cannot be put into HTTP 
header by default.



was (Author: njiang):
Hi Daniel,

I think the question that you mentioned is not directly related to this JIRA. 

I think copy the HTTP header into camel message header is OK, but copy all the 
camel message headers to HTTP is not good option. 

CXF drops a line between the protocol headers and logical context headers,  I 
think we can use it as a reference in camel-cxfrs producer side to avoid 
copying camel headers which don't relate to the HTTP protocol to HTTP.


> Investigate if CXF RS component can make in HTTP headers not visible to the 
> rest of the route
> ---------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-6865
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6865
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-cxf
>    Affects Versions: 2.12.1
>            Reporter: Sergey Beryozkin
>            Priority: Minor
>
> According to the user reports, CXF RS component can make the incoming HTTP 
> headers visible to the components which follow it, IMHO by default such 
> headers should only be visible to CXF endpoint. 
> Check if it is realistic to do it. 



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

Reply via email to