camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Wolf <cwolf.a...@gmail.com>
Subject How to schedule FTP with quartz?
Date Fri, 01 Mar 2013 23:15:59 GMT
I have a requirement to download files via FTP during a certain time
window and according to a schedule. e.g. Only on trading days between
6:30AM and 7:00AM.  The FTP component, alone, seems to just do
indefinite polling according to delay/initialDelay.

>From the "Camel In Action" book, chapter 7, I see some examples of
sending a text message with the Timer and Quartz components, but I
can't quite see how to put that together to implement "kicking off
routes at specified intervals", mentioned in the best practices list
at the end of that chapter.  How would I use quartz to stop/start the
FTP component, or the route that it's in?

Thanks,

Chris

Mime
View raw message