Contributed by Przemysław Wojnowski.
Quartz-mongodb is compiled with Java 7.
MongoDB Java driver was upgraded to 3.2.x
.
Contributed by Przemysław Wojnowski.
Joda Time was upgraded to 2.4
.
MongoDBJobStore#overrideMongo
is a new method that allows a mock
implementation of MongoDB connection to be used, e.g. for integration
testing.
Contributed by Ben Romberg.
The store will now load only non-paused triggers.
Contributed by huang1900z.
Job timeout now can be configured via a property:
org.quartz.jobStore.jobTimeoutMillis=1800000
Contributed by David Regnier.
MongoDBJobStore.getTriggersForJob returns an empty list in case job document does not exist (no longer throws as NPE).
Contributed by Illyr.
MongoDB Java driver was upgraded to 2.12.1
.
authDbName
is a new configurable property that makes
it possible to specify the database to authenticate
against.
Contributed by Maxim Markov.
MongoDB Java driver was upgraded to 2.11.3
.
(At least some) MongoDB Client Deprecated APIs are no longer used.
Contributed by lordbuddha.
Update the slf4j logging to use parametrized messages such that the use of isDebugEnabled is not required.
Contributed by lordbuddha.
If there is no next fire time, remove the trigger. It is no longer required.
Contributed by lordbuddha.
When rescheduling a job, which uses replaceTrigger, do not use the removeTrigger method as it will remove the job also if the job is not durable.
Contributed by lordbuddha.
Fix misfire handling such that triggers whose next fire time after misfire handling is outside of the current acquisition time are no longer returned.
Contributed by lordbuddha.
Objects now can be loaded in batches, if Quartz is configured to do so.
Contributed by lordbuddha.
MongoDBJobStore#isClustered
now correctly returns false
.
Contributed by Dennis Zhuang.
Connection failures will now result in Quartz scheduler exceptions being thrown (as Quartz expects it to be), not MongoDB driver's.
It is now possible to connect using a MongoDB URI:
org.quartz.jobStore.class=com.novemberain.quartz.mongodb.MongoDBJobStore
# Use the mongo URI to connect
org.quartz.jobStore.mongoUri= mongodb://localhost:27020
org.quartz.jobStore.dbName=quartz
org.quartz.jobStore.collectionPrefix=mycol
org.quartz.threadPool.threadCount=100
JDBC store always stores a job that does not exist, regardless of the value of
the replaceExisting
argument. Now MongoDB store does the same.
Triggers now should be updated correctly.
DailyTimeIntervalTriggers are now deserialized correctly.
Several improvements to make the store follow reference implementations in Quartz more closely.
Multiple warnings and one string comparison bug fix were eliminated.
The store will now create additional indexes on trigger fire times to support cases with more than 64 MB of trigger documents.
GH issue: #13.
MongoDBJobStore
now supports replacing existing jobs.
GH issue: #20.
MongoDBJobStore
constructor will now raise a SchedulerConfigException
if it fails to connect to MongoDB (typically because of a misconfiguration).
GH issue: #19.
MongoDB Java driver was upgraded to 2.11.x
.
MongoDB Java driver was upgraded to 2.10.x
.
Quartz was upgraded to 2.1.7
.
Joda Time was upgraded to 2.2
.
Quartz-MongoDB now store instance id in lock documents.
Fixed a problem with JobExecutionContext.getPreviousFireTime() returning current execution time
Jobs that are not referenced by triggers are now cleaned up.
Added support for getJobGroupNames
/ getTriggerGroupNames
in MongoDBJobStore.