On Tue, Nov 27, 2012 at 11:15 AM, Babak Vahdat <[email protected]> wrote: > Hi > > I'm not a Quartz expert but think (if I understand your question correctly) > you could make use of the "stateful" option in your URI: > > http://camel.apache.org/quartz > > And then according what the Javadoc says, the required behaviour should be > already given for free (new triggers that occur before the completion of the > execute(xx) method will be delayed): > > http://quartz-scheduler.org/api/1.8.5/org/quartz/StatefulJob.html > > Does my rambling make sense at all? >
Yeah this seems like the solution. If it works for you. Then we could possible improve the camel-quartz docs with some better details about this. > Babak > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/How-to-avoid-starting-a-route-multiple-times-tp5723236p5723296.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: [email protected] Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen
