我在我的应用程序中有一个骆驼路线,它用cron表达式触发。我正在使用camel quartz2调度程序,但我不确定如何将quartz2集群化,因为我们需要在多个节点上部署此应用程序。 以下是启动骆驼路线的触发器。如何使apache camel quartz2调度程序集群
from("quartz2://foo?cron=1+1+1+*+*+?&trigger.timeZone=Australia/Melbourne")
任何人都可以请帮助我在群集环境中进行配置。
我得到下面当我执行这条路线:
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.
您能否详细说明一下 - 聚集环境?期望是什么? – Jayaraj