How to remove the http protocol headers in the camel message?Page added by willem jiangIn camel there are lots of components use the http protocol headers to do their business. If you don't want these headers bother your other endpoints, you'd better to remove these headers like these from("jetty://http://myhost:9000/myservice/") // Remove the header which name is start with CamelHttp, this DSL is new to Camel 2.3.0 // You can use removeHeader if your camel version is lower than 2.3.0 .removeHeaders("CamelHttp*") .to("otherEndpoint");
Change Notification Preferences
View Online
|
Add Comment
|
- [CONF] Apache Camel > How to remove the http protocol header... confluence