3pillarlabs/quartz-simpledb-jobstore

Name: quartz-simpledb-jobstore

Owner: 3Pillar Global Open Source

Description: A Quartz job store for persistence of job details and triggers in Amazon SimpleDB

Created: 2013-04-29 10:20:18.0

Updated: 2015-08-13 08:57:27.0

Pushed: 2015-09-29 10:43:08.0

Homepage: null

Size: 190

Language: Java

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Quartz Simpledb Jobstore

A Quartz job store for persistence of job details and triggers in Amazon SimpleDB.

Getting Started

The project artifacts are available from Maven Central. The dependency information is as follows:

<dependency>
    <groupId>com.3pillarglobal.labs</groupId>
    <artifactId>quartz-simpledb-jobstore</artifactId>
    <version>1.0</version>
</dependency>
Configuration

The job store is configured in standard Quartz fashion by setting a Java Properties instance on the Quartz scheduler.

String awsAccessKey = ""; // AWS access key
String awsSecretKey = ""; // AWS secret key
Properties properties = new Properties();
properties.setProperty("org.quartz.jobStore.class", 
                "com.threepillar.labs.quartz.simpledb.SimpleDbJobStore");
properties.setProperty("org.quartz.jobStore.awsAccessKey", awsAccessKey);
properties.setProperty("org.quartz.jobStore.awsSecretKey", awsSecretKey);
Specify SimpleDB domain prefix

By default, the jobstore will create 2 domains: “quartzJobs” and “quartzTriggers”. You can add a prefix by setting a property:

String somePrefix = "yada";
properties.setProperty("org.quartz.jobStore.prefix", somePrefix);

The domains now will be “yada.quartzJobs” and “yada.quartzTriggers”.

Recreate domains on scheduler startup

Mostly useful for testing, this property will re-create the domains everytime the Quartz scheduler is started.

properties.setProperty("org.quartz.jobStore.recreate", "true");

About this project

3Pillar Global

Quartz Simpledb Jobstore is developed and maintained by 3Pillar Global.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.