The job name is properly set now (see https://issues.apache.org/activemq/browse/CAMEL-3091) and if not set it defaults to "quartz-{endpoint.getId()}".
The rest should work and I'll try get the double slash issue resolved. It's not a big deal, but components should behave consistently wether the double slashes are present or not (with exceptions mandated by specs, such as "http://"). Hadrian On Aug 30, 2010, at 9:50 PM, Hadrian Zbarcea wrote: > Hi, > > Try this: > uri="quartz://sample/trigger1?job.name=sampleJob&cron=0+0/5+*+?+*+1-7" > or even: > uri="quartz://sample/trigger1?cron=0+0/5+*+?+*+1-7" > Note the double slashes after "quartz:" and the spaces replaced with '+'. > > it seems to me that the job name is not set properly anyway, and I am looking > into it now. > > Cheers, > Hadrian > > On Aug 30, 2010, at 11:39 AM, senthil.arumugam wrote: > >> >> Hi, >> >> I am facing some issues with configuring quartz endpoint with cron >> expression. >> >> My endpoint config goes like, >> >> <endpoint id="quartzTimer" >> uri="quartz:sample/trigger1?job.name=sampleJob&cron=0 0/5 * ? * 1-7" /> >> >> When I give like this, I am getting an exception with message one or more >> parameters is not specified or something like. The problem is with the '?' >> which specified the Day. In cron we have no option to specify both Day of >> week and Day of month. >> >> If I change, '?' into '$' I am getting an exception with message unexpected >> character '$'. I would like to get some direction, to configure my job which >> executes every 5 mins round o clock. >> >> Thank you, >> SK >> -- >> View this message in context: >> http://camel.465427.n5.nabble.com/Problem-with-cron-expression-configuration-in-camel-context-with-spring-tp2796958p2796958.html >> Sent from the Camel - Users mailing list archive at Nabble.com. >
