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

Ashwin Karpe edited comment on CAMEL-2936 at 9/16/10 6:16 PM:
--------------------------------------------------------------

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 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. 

Cheers, 

Ashwin...

      was (Author: akarpe):
    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. 

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
>
>
> 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.

Reply via email to