camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: Scheduling the file component to only process at specific intervals
Date Mon, 22 Aug 2011 11:17:29 GMT
On Mon, Aug 22, 2011 at 11:38 AM, Gert Villemos <> wrote:
> I'm using an omnipotent file component to read through a potentially very
> large directory structure (days of processing).
> To limit the load of the system and not interfere with existing systems, I
> would like to limit the time that the file component runs, for example to be
> from 22.00 until 06.00 the next day, and then kickoff again where it left
> later.
> A simple solution would be to have a second route with a scheduler that
> simply stops the file route and then starts it again later.
> Is there any even simpler way?

A scheduled route policy

> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
Twitter: davsclaus, fusenews
Author of Camel in Action:

View raw message