> Hi,
> I have a camel quartz2 where I define the route as 
>  
> <route id="quarztRoute">
>                         <from uri="quartz2://testRoute/testName?cron=#{ 
> cronSchedule }" />
>                         <to uri="mock:quartz" />
>                 </route>
>  
> CronScehdule is defined as <bean id="cronSchedule" class="java.lang.String">
>                                                 <constructor-arg 
> value="#{systemProperties[‘cron.schedule']}" />
>                         </bean> 
>  
> I cant seem to add the spel expression in camel cron . However the cron value 
> needs to come from system env variables . What’s the best way to achieve the 
> same ?
>  
> Thanks
> Rohan
>  

Reply via email to