ayengin
ayengin

Reputation: 1596

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.jobStore.class = org.quartz.simpl.RAMJobStore

Upvotes: 0

Views: 767

Answers (1)

jhouse
jhouse

Reputation: 2692

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

Upvotes: 1

Related Questions