开发者

quartz with configured schedulers

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜