You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2015/10/03 10:07:26 UTC
[jira] [Resolved] (CAMEL-9186) Camel-Scala: Ability to add route
policy in the Scala DSL based route definition
[ https://issues.apache.org/jira/browse/CAMEL-9186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-9186.
--------------------------------
Resolution: Fixed
Assignee: Claus Ibsen
Thanks for the patch.
> Camel-Scala: Ability to add route policy in the Scala DSL based route definition
> ---------------------------------------------------------------------------------
>
> Key: CAMEL-9186
> URL: https://issues.apache.org/jira/browse/CAMEL-9186
> Project: Camel
> Issue Type: New Feature
> Components: camel-scala
> Affects Versions: 2.15.3
> Reporter: Naresh Khalasi
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 2.17.0
>
> Attachments: CAMEL-9186-patch.txt
>
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> As a developer wanting to use *quartz2* scheduler and wanting to use {{CronScheduledRoutePolicy}} to be able to configure the route start time, suspend time and resume time, I would like to do the following
> {code:title=routepolicysample.scala}
> val rpolicy = new CronScheduledRoutePolicy
> rpolicy.setRouteStartTime("0 30 * * *")
> from("quartz2://mytest/test?cron=0+0/2+*+*+*+?")
> .routePolicy(rpolicy).noAutoStart()
> .to("log:foo")
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)