Remove Header EIP

Options

The Remove Header EIP supports 1 options which are listed below:

Name Description Default Type

headerName

Required Name of header to remove

String

Samples

from("seda:b")
  .removeHeader("myHeader")
  .to("mock:result");

Spring DSL

The sample below demonstrates the delay in Spring DSL:

<route>
  <from uri="seda:b"/>
  <removeHeader>
     <constant>myHeader</constant>
  <removeHeader/>
  <to uri="mock:result"/>
</route>