Reading files: http://camel.apache.org/file2.html - react on "empty dir": sendEmptyMessageWhenIdle Sending mails: http://camel.apache.org/mail.html SCP: http://camel.apache.org/jsch.html
So just thinking loud: from("file:mydirectory?sendEmptyMessageWhenIdle=true") .choice() .when( simple("${body} == null") ) .to("smtps:user@mailhost?password=secret&to=m...@mail.org&subject=Upload-finis hed") .otherwise() .to("scp://scp.host.org/dir?username=me&password=secret") ; Jan > -----Ursprüngliche Nachricht----- > Von: SteveR [mailto:srichard...@vonage.com] > Gesendet: Montag, 9. November 2015 18:34 > An: users@camel.apache.org > Betreff: Re: Integration Pattern > > Hi Ishada: > > Maybe checkout the Camel Mail Component > <http://camel.apache.org/mail.html> > . > > SteveR > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Integration-Pattern- > tp5773535p5773547.html > Sent from the Camel - Users mailing list archive at Nabble.com.