How to avoid sending some or all message headersPage edited by Christian MuellerChanges (5)
Full ContentHow to avoid sending some or all message headers?When I send a message to a Camel endpoint such as the Mail component, then the mail include some message headers I do not want. Use removeHeaders in the routeThis is a gotcha more people encounter. However it's very easy to solve. To remove all headers use a wildcard _expression_: from(...).removeHeaders("*").to("smtp://....")
Change Notification Preferences
View Online
|
View Changes
|
Add Comment
|