如何从数据库加载quartz属性而不是石英属性文件?

时间:2015-05-07 14:19:55

标签: java mongodb quartz-scheduler

# Use the MongoDB store
org.quartz.jobStore.class=com.landisgyr.aga.server.quartz.MongoDbJobStore
# MongoDb Host Name
org.quartz.jobStore.addresses=localhost
# Mongo Database name
org.quartz.jobStore.dbName=aga
org.quartz.jobStore.instanceId=jobInstance
# Collection prefix
org.quartz.jobStore.collectionPrefix=quartz.scheduler.
#Threadpool count 

org.quartz.scheduler.instanceName = AGAQuartzScheduler
org.quartz.scheduler.instanceId = AUTO
org.quartz.threadPool.class = org.quartz.simpl.SimpleThreadPool
org.quartz.threadPool.threadCount = 8
org.quartz.threadPool.threadPriority = 8

如何从数据库而不是从属性文件加载上述属性。

0 个答案:

没有答案