Skip to content

A MongoDB-based store for Quartz. This fork supports different types of triggers and strives to be as feature complete as possible. Originally by MuleSoft.

License

Notifications You must be signed in to change notification settings

erkfel/quartz-mongodb

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A MongoDB-based store for Quartz.

This is a fork of a project originally started by MuleSoft. It supports all Quartz trigger types and tries to be as feature complete as possible.

Maven Artifacts

The Most Recent Release

With Leiningen:

[com.novemberain/quartz-mongodb "1.0.0"]

With Maven:

<dependency>
  <groupId>com.novemberain</groupId>
  <artifactId>quartz-mongodb</artifactId>
  <version>1.0.0</version>
</dependency>

Snapshots

If you are comfortable with using snapshots, snapshot artifacts are released to Clojars every 24 hours.

With Leiningen:

[com.novemberain/quartz-mongodb "1.1.0-SNAPSHOT"]

With Maven:

<dependency>
  <groupId>com.novemberain</groupId>
  <artifactId>quartz-mongodb</artifactId>
  <version>1.1.0-SNAPSHOT</version>
</dependency>

Usage

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

License

Apache Public License 2.0

FAQ

Why the Fork?

MuleSoft developers did not respond to attempts to submit pull requests for several months. As more and more functionality was added, I decided to completely separate this fork form GitHub forks network because it is very different. All changes were made with respect to the Apache Public License 2.0.

About

A MongoDB-based store for Quartz. This fork supports different types of triggers and strives to be as feature complete as possible. Originally by MuleSoft.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%