You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Claus Ibsen <cl...@gmail.com> on 2013/01/04 18:03:27 UTC

Re: Clustered CronScheduledRoutePolicy - how to?

On Thu, Nov 29, 2012 at 7:42 AM, Denis S <ds...@yahoo.com> 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
camel-quartz.
https://issues.apache.org/jira/browse/CAMEL-5927

> Thanks, Denis.
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Clustered-CronScheduledRoutePolicy-how-to-tp5723377.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



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