polling a file directory every tuesday moning at 8:00 using apache camel -



polling a file directory every tuesday moning at 8:00 using apache camel -

i busy apache camel project automates process of uploading file sftp server every tuesday @ 8:00.

i want set delay of apache camel route to: every tuesday @ 8:00.

how go doing that?

let's 'a' pickup location , 'b' destination location.

use quartz component scheduler, pollenrich reading file, , ftp component sending content:

from("quartz://myscheduler?cron=0+0+8+?+*+thu") .pollenrich("file:inbox?filename=data.txt") .to("ftp://foo@127.0.0.1:21/?password=pwd")

more info cron look can found here.

apache-camel

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -