[
https://issues.apache.org/activemq/browse/CAMEL-2936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ashwin Karpe updated CAMEL-2936:
--------------------------------
Attachment: CAMEL-2936-Core-routepolicy.diff
CAMEL-2936-ScheduledRoutePolicy.diff
Hi Claus,
I am attaching 2 patches (1 for camel core, 1 for camel quartz) for this
ScheduledRoutePolicy feature in Camel. I am offering both a Cron based and
Simple ScheduledRoutePolicy support.
I could have come up with one patch, but the core patch could be added
independent of the quartz patch.
In the core patch, I have added an extra API to the RoutePolicy support for
stopRoute() which takes into account an ability to provide a timeout for
graceful shutdown before shutting down a route.
I have unit-tested & source-checked the feature and am offering the capability
for your comment. I will check it in shortly.
Cheers,
Ashwin...
> 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
>
> Attachments: CAMEL-2936-Core-routepolicy.diff,
> CAMEL-2936-ScheduledRoutePolicy.diff
>
>
> 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.