camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashwin Karpe <>
Subject Re: from jms and quartz
Date Mon, 20 Feb 2012 12:43:04 GMT

The CronScheduledRoutePolicy is designed to fire up a route for a fixed
period of time and bring it down following a time interval.

The idea is to do some batch processing in a given time window... Can you
clarify what you mean by "it doesn't work". 

Also can you add the following flag to your route "autoStartup=false". Your
route is being started/primed by the context as soon as it is discovered,
thereby not allowing the route to be primed by your policy for the first
go-around. It should work from the second go-around since the route is
stopped and then re-started.

Adding the autoStartup will ensure that your policy is the only one that
starts/stops the route...

Hope this helps.



Ashwin Karpe
Apache Camel Committer & Sr Principal Consultant
FUSESource (a Progress Software Corporation subsidiary) 

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message