Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Mongo DB JobStore for Quartz

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 src
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE.txt Change package names, write basic doc example, add license July 26, 2011
Octocat-spinner-32 README.md
Octocat-spinner-32 pom.xml
README.md

A MongoDB JobStore for Quartz.

WARNING: not all functionality works. You may have to hack this if you use it. On the bright side, there is a lot less to hack than if you didn't have this at all.

The primary thing that works and is tested is SimpleTriggers across multiple Quartz instances where triggers are created on application startup.

To configure, set your Quartz properties to something like this:

# Use the MongoDB store
org.quartz.jobStore.class=com.mulesoft.quartz.mongo.MongoDBJobStore
# comma separated list of mongodb hosts/replica set seeds
org.quartz.jobStore.addresses=host1,host2
# Mongo database name
org.quartz.jobStore.dbName=quartz
# Will be used to create collections like mycol_jobs, mycol_triggers, mycol_calendars, mycol_locks
org.quartz.jobStore.collectionPrefix=mycol
# not sure why Quartz requires this, but it does and we don't use it
org.quartz.threadPool.threadCount=1
Something went wrong with that request. Please try again.