camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAMEL-2936) Provided a ScheduledRoutePolicy to make it easy to define when routes should be active
Date Sat, 04 Sep 2010 11:22:40 GMT

    [ https://issues.apache.org/activemq/browse/CAMEL-2936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=61682#action_61682
] 

Claus Ibsen commented on CAMEL-2936:
------------------------------------

Ashwin check this documentation
http://camel.apache.org/routepolicy.html

The idea is to assign routes with a policy which dictates when those routes is active.

The policy should have it easy to define rules such as based on CRON or a simple rules based
on a window opening (eg. 8am to 6pm).
The trick is with CRON we have to leverage quartz as it got a CRON parser. Or in the future
Spring 3 which may also have one.

But for starters go for the simple solution with something that is easy to configure out of
the box.
Sometimes people want routes to be inactive during night time when backup and other jobs may
run.

> Provided a ScheduledRoutePolicy to make it easy to define when routes should be active
> --------------------------------------------------------------------------------------
>
>                 Key: CAMEL-2936
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2936
>             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.


Mime
View raw message