I think the problem is that we don't use static builders but creates our
routes dynamically.

The quartz component fires events correctly :
[DEBUG] simpl.SimpleJobFactory Producing instance of Job
'DEFAULT.quartz-endpoint20',
class=org.apache.camel.component.quartz.StatefulCamelJob
[DEBUG] core.JobRunShell Calling execute on job DEFAULT.quartz-endpoint20
[DEBUG] quartz.QuartzEndpoint Firing Quartz Job with context:
JobExecutionContext: trigger:
'BabelScheduler.03862e89-e8e7-410b-af9e-51653ce674d4 job:
DEFAULT.quartz-endpoint20 fireTime: 'Wed Sep 07 10:57:11 CEST 2011
scheduledFireTime: Wed Sep 07 10:57:11 CEST 2011 previousFireTime: 'Wed Sep
07 10:56:11 CEST 2011 nextFireTime: Wed Sep 07 10:58:11 CEST 2011
isRecovering: false refireCount: 0

But they are not consumed by any route :-/
So we have to rebuild our consuming routes at statup for the quartz events
endpoints in the store !

Any comments welcome on all this.


--
View this message in context: 
http://camel.465427.n5.nabble.com/Quartz-stateful-job-routes-not-recreated-on-server-restart-tp4774630p4777840.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to