THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
from(...).removeHeaders("*", "myheader1", "myheadermyheader2").to("smtp://....") |
To do this (a similar thing) in XML DSL you simply do:
Code Block | ||||
---|---|---|---|---|
| ||||
<route> <from uri="..."/> <removeHeaders pattern="*" excludePattern="myHeader1,myHeader2header1|header2"/> <to uri="smtp://..."/> </route> |
Tip |
---|
At present, the |
Again to remove only Camel headers but no other transport headers:
...