开发者

quartz with configured schedulers

开发者 https://www.devze.com 2023-03-29 19:14 出处:网络
How can I create a quartz.properties file so it has declared number of scheduler with given properties to them and access them using StdSchedulerFactory getScheduler(\"schedulername\") method?

How can I create a quartz.properties file so it has declared number of scheduler with given properties to them and access them using StdSchedulerFactory getScheduler("schedulername") method?

org.quartz.scheduler.instanceName = MyScheduler1
org.quartz.threadPool.threadCount = 3
org.quartz.jobStore.class = org.quartz.simpl.RAMJobStore

org.quartz.scheduler.instanceName = MyScheduler2
org.quartz.threadPool.threadCount = 1
org.quartz.jobSto开发者_高级运维re.class = org.quartz.simpl.RAMJobStore


No, each scheduler needs it's own configuration properties.

0

精彩评论

暂无评论...
验证码 换一张
取 消