I also faced the same problem & here I'm giving my solution. If you are writing logs to a file and using Log4j etc., you can set a filter to decide whether plain text passwords consisting records should be logged or not.
I got the issue solved by Get the appender and set a formatter by overriding format method as you want. -- View this message in context: http://camel.465427.n5.nabble.com/jira-Created-CAMEL-3980-Exception-message-contains-plaintext-password-tp4403155p5754942.html Sent from the Camel Development mailing list archive at Nabble.com.