camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fidoedidoe <gavin.fow...@sagepub.co.uk>
Subject New to Camel, adding smtp completion notification using XML DSL
Date Thu, 13 Nov 2014 15:29:18 GMT
Hi I'm new to camel (so forgive me for asking dumb question). Having worked a
few examples and successfully created some test routes - I'd like to email
recipient(s) on completion. Ultimately the intent would  be to email success
/ failure...but taking baby steps, just an email at the end of processing
would be enough for me to expand my understanding. 

In my real code (not the pseudo below) I've successfully received an email
*but* I cannot understand how to override the email body (currently it's the
content of the message processed by direct:start - in my instance a zip
file). 

I've experimented with <transform> (to transform the message/body before
emailing) but that didn't appear to work. 

Any suggestions?!

Kind regards





--
View this message in context: http://camel.465427.n5.nabble.com/New-to-Camel-adding-smtp-completion-notification-using-XML-DSL-tp5759060.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message