The HttpProducer handling the Exchange doesn't know or care where the
Exchange is going next, so the request headers are preserved for further
routing.
You may also consider using properties if you'd rather not filter the
headers, or extend
org.apache.camel.component.http4.HttpHeaderFilterStrategy or
DefaultHeaderFilterStrategy.

http://camel.apache.org/http4.html (See section on Message Body)

Taariq


On Mon, Nov 4, 2013 at 8:54 PM, orchid <olivia.g...@gmail.com> wrote:

> Hi,
>
> The headers we do not want are our custom headers. Why are they copied from
> request to response always in the first place? It would be ideal to have a
> conf param so we can skip this line of code.
>
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Camel-http4-adds-request-headers-to-response-headers-by-default-tp5742600p5742604.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Reply via email to