Actually you can use "stringtemplate" or any other uri in "enrich". But using "direct" helps to split the process in separate logical steps. You can have "direct:generateEmailBody" and if you need to do anything else for the step you can simply update the route.
-- View this message in context: http://camel.465427.n5.nabble.com/How-to-send-a-templated-mail-with-attachment-tp5125167p5133857.html Sent from the Camel - Users mailing list archive at Nabble.com.