我在我的應用程序中有一個駱駝路線,它用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