camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: Clustered CronScheduledRoutePolicy - how to?
Date Fri, 04 Jan 2013 17:03:27 GMT
On Thu, Nov 29, 2012 at 7:42 AM, Denis S <> wrote:
> Hi,
> I have an sftp component which load files from external location. The route
> starts and stops periodically by cron policy (@Claus Ibsen: thanks for your
> advise to use it).
> Now I need to do this in a cluster (several tomcat nodes), but only one of
> them must perform the real file download, so I configured quartz to be
> clustered and take scheduller settings from
> org.springframework.scheduling.quartz.SchedulerFactoryBean.
> The start and stop are different triggers. But I need to perform the stop
> job only on the node where the start event occured. How can I configure
> this?

Yeah that seems like a catch-22 situation. As I guess quarz dont know
that the stop
action should be linked to the start action.

I have logged a ticket to track this. As it seems like a bug/issue in

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

Claus Ibsen
Red Hat, Inc.
FuseSource is now part of Red Hat
Twitter: davsclaus
Author of Camel in Action:

View raw message