Quartz/Quartz2 in cluster mode doesn't apply changed trigger settings in Fuse
Issue
Camel-quartz2component in clustered mode uses trigger options stored in DB rather (possibly changed) ones from endpoint's URI.- The desirable behavior is to compare trigger options in DB and endpoint's URI and reschedule quartz job when they changed (like in camel-quartz component).
- The
camel-quartzalready have this functionality, but there is no test for it and it works incorrectly with changedSimpleTriggeroptions. - Every test prepares DB, than creates application context twice with different trigger options. Both times it retrieves options back, accessing them via trigger (not via endpoint, so that it uses values stored in DB). After that it asserts that retrieved options are indeed different.
Environment
- Red Hat JBoss Fuse
- 6.x
- Apache Camel
- Quartz 2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
