[ 
https://issues.apache.org/jira/browse/CAMEL-9186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen updated CAMEL-9186:
-------------------------------
    Fix Version/s: 2.17.0

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

Reply via email to