How to remove the http protocol headers in the camel message?
Skip to end of metadata
Go to start of metadata

In camel there are a number of components that use the http protocol headers to do their business.
The components include camel-http, camel-jetty, camel-restlet, camel-cxf, etc.
If you are using these component, you may pay attention to the Http protocol headers:

If you don't want these headers to bother your other endpoints, you can remove these headers as follows:

Labels
  • No labels
  1. To make the spring version the same as the java DSL version shouldn't it be like this :

    <removeHeaders pattern="CamelHttp*" />