AW: Integration Pattern

2015-11-17 Thread jhm
The "pattern" here I would see http://camel.apache.org/message.html http://camel.apache.org/message-channel.html http://camel.apache.org/message-endpoint.html http://camel.apache.org/message-router.html basically http://camel.apache.org/content-based-router.html http://camel.apache.org/polling-cons

AW: Integration Pattern

2015-11-17 Thread jhm
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( si