Use a dependency injection framework to inject the value as instance
variable.

Best,
Christian
Am 27.09.2013 08:31 schrieb "berdoni" <[email protected]>:

> Hi,
>
> I use CronScheduledRoutePolicy to schedule the execution on a File route.
>
> CronScheduledRoutePolicy routePolicy = new CronScheduledRoutePolicy();
>
> routePolicy.setRouteStartTime("0 0/5 * * * ?");
> routePolicy.setRouteStopTime("59 0/2 * * * ?");
>
> Is it possible to use property placeholders and load the cron values from a
> property file
>
> e.g.
> routePolicy.setRouteStartTime({{routeStartTime.value}});
>
> or this is applicable only in parts of the endpoint URI's?
>
> thanks
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Use-property-placeholders-in-CronScheduledRoutePolicy-tp5740264.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Reply via email to