You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Dayakar <da...@gmail.com> on 2013/07/19 09:24:24 UTC

Can we give Configure Stop Time for Quartz Component

Hi,

I am using Quartz Component which run Daily at 20:00  I configured it as
from("quartz://myGroup/myTimerName?cron=0+0+20+1/1+*+?+*").to("jms:queue:outBoundQueue")

It should run untill Dec 31 2013 after that it should stop the rOute.

How can i configure the stop time for this Route




--
View this message in context: http://camel.465427.n5.nabble.com/Can-we-give-Configure-Stop-Time-for-Quartz-Component-tp5735888.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Can we give Configure Stop Time for Quartz Component

Posted by Jothi <co...@gmail.com>.
Take a look at the CronScheduledRoutePolicy [1]. With this you can specify
the start and stop time for your route. You create your route with the
noAutoStartup!

[1] - http://camel.apache.org/cronscheduledroutepolicy.html

Regards,
Joe



--
View this message in context: http://camel.465427.n5.nabble.com/Can-we-give-Configure-Stop-Time-for-Quartz-Component-tp5735888p5735895.html
Sent from the Camel - Users mailing list archive at Nabble.com.