Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
Unknown
-
Important
Description
We have integration scenarios with muliple quartz from endpoints in a single camel context deployed as osgi bundles. We observe that if one of the quartz configuration has no more schedules and if the bundle were to get restarted, the entire context fails to start thereby preventing future execution of other routes. Error seen in the stacktrace
Caused by: org.apache.camel.RuntimeCamelException: org.quartz.SchedulerException: Based on configured schedule, the given trigger 'myGroup.expired' will never fire.
at org.apache.camel.RuntimeCamelException.wrapRuntimeException(RuntimeCamelException.java:66)
The issue is becoming a blocker for our scenarios with multiple custom future schedules. Updating the quartz configuration each time we encounter the error is becoming difficult. Hence requesting your quick insights and a resoultion.
I am enclosing a junit to help you recreate the issue. quartz-error.zip The scenario has two routes expiredScheduleRoute and recurringScheduleRoute. The expectation is that the context starts and recurringScheduleRoute continues to run every 2 seconds. I believe we may need a parameter to the quartz endpoint to skip the validation for expiredScheduleRoute
Attachments
Attachments
Issue Links
- is fixed by
-
CAMEL-18319 camel-core - Supervising route controller should not eager warmup routes
- Resolved