Hi You can use the resolvePropertyPlaceholders from camelContext.
Or use the @PropertyInject from Camel 2.12 to inject the property to a getter/setter on the java bean (eg to do dependency injection) On Thu, Sep 26, 2013 at 5:43 PM, berdoni <[email protected]> wrote: > 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. -- Claus Ibsen ----------------- Red Hat, Inc. Email: [email protected] Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen
