Quartz SimpleDB Job Store

A Quartz job store implementation to persist job details and triggers to Amazon SimpleDB

License

License

Categories

Categories

Quartz Application Layer Libs Job Scheduling
GroupId

GroupId

com.3pillarglobal.labs
ArtifactId

ArtifactId

quartz-simpledb-jobstore
Last Version

Last Version

1.0
Release Date

Release Date

Type

Type

jar
Description

Description

Quartz SimpleDB Job Store
A Quartz job store implementation to persist job details and triggers to Amazon SimpleDB
Project URL

Project URL

https://github.com/3pillarlabs/quartz-simpledb-jobstore
Source Code Management

Source Code Management

https://github.com/3pillarlabs/quartz-simpledb-jobstore

Download quartz-simpledb-jobstore

How to add to project

<!-- https://jarcasting.com/artifacts/com.3pillarglobal.labs/quartz-simpledb-jobstore/ -->
<dependency>
    <groupId>com.3pillarglobal.labs</groupId>
    <artifactId>quartz-simpledb-jobstore</artifactId>
    <version>1.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.3pillarglobal.labs/quartz-simpledb-jobstore/
implementation 'com.3pillarglobal.labs:quartz-simpledb-jobstore:1.0'
// https://jarcasting.com/artifacts/com.3pillarglobal.labs/quartz-simpledb-jobstore/
implementation ("com.3pillarglobal.labs:quartz-simpledb-jobstore:1.0")
'com.3pillarglobal.labs:quartz-simpledb-jobstore:jar:1.0'
<dependency org="com.3pillarglobal.labs" name="quartz-simpledb-jobstore" rev="1.0">
  <artifact name="quartz-simpledb-jobstore" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.3pillarglobal.labs', module='quartz-simpledb-jobstore', version='1.0')
)
libraryDependencies += "com.3pillarglobal.labs" % "quartz-simpledb-jobstore" % "1.0"
[com.3pillarglobal.labs/quartz-simpledb-jobstore "1.0"]

Dependencies

compile (3)

Group / Artifact Type Version
com.amazonaws : aws-java-sdk jar 1.3.25
org.codehaus.jackson : jackson-mapper-asl jar 1.9.11
org.codehaus.jackson : jackson-core-asl jar 1.9.11

provided (1)

Group / Artifact Type Version
org.quartz-scheduler : quartz jar 1.8.5

runtime (1)

Group / Artifact Type Version
log4j : log4j jar 1.2.17

test (2)

Group / Artifact Type Version
junit : junit jar 4.7
org.slf4j : slf4j-jcl jar 1.6.0

Project Modules

There are no modules declared in this project.

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] (http://www.3pillarglobal.com/wp-content/themes/base/library/images/logo_3pg.png)

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

com.3pillarglobal.labs

3Pillar Global Open Source

GitHub organization for open source projects developed at 3Pillar Global.

Versions

Version
1.0
0.0.1