Hi

See about route policy
http://camel.apache.org/routepolicy

And the scheduled route policy
http://camel.apache.org/scheduledroutepolicy.html

On Sat, Mar 2, 2013 at 12:15 AM, Chris Wolf <cwolf.a...@gmail.com> wrote:
> 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



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cib...@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to