Quartz/Quartz2 in cluster mode doesn't apply changed trigger settings in Fuse
Issue
Camel-quartz2
component 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-quartz
already have this functionality, but there is no test for it and it works incorrectly with changedSimpleTrigger
options. - 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, tools, and much more.