camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashwin Karpe (JIRA)" <>
Subject [jira] Commented: (CAMEL-2936) Provided a ScheduledRoutePolicy to make it easy to define when routes should be active
Date Thu, 16 Sep 2010 22:16:41 GMT


Ashwin Karpe commented on CAMEL-2936:

Hi Claus, 

The real challenge with the scheduled route policy support it seems is in re-starting the
route or a consumer at a given time and the most elegant and only real way way is to use a
CRON parser. 

I looked for a way to implement this capability in camel-core, however, I find that I will
need to edit the pom and add a quartz dependency which I would like to avoid. Given this,
it seems like only other way is to offer this via the camel-quartz component and not camel-core.
In this case, I will be able to get add a comprehensive, extensive & rich set of policies
utilizing quartz scheduling capabilities. 

Please let me know what you think. If there is any other way to do this please let me know.

I will proceed along the lines described above and avoid mucking up the camel core with this
dependency unless you recommend otherwise. 



> Provided a ScheduledRoutePolicy to make it easy to define when routes should be active
> --------------------------------------------------------------------------------------
>                 Key: CAMEL-2936
>                 URL:
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Ashwin Karpe
>            Priority: Minor
>             Fix For: Future
> A {{ScheduledRoutePolicy}} which can suspend/resume routes based on a user configuration.
> The scheduled should invoke a callback on regular bases where end user can determine
if the routes should be active nor not.
> For example we may even let it be defined using cron or the likes.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message