Giter Club home page Giter Club logo

spring-boot-starter-quartz's Introduction

spring-boot-starter-quartz

Spring Boot Starter for Quartz Scheduler (http://quartz-scheduler.org)

Current Quartz version: 2.2.3

Configuration

Add the latest spring-boot-starter-quartz to your Spring Boot application, it will automatically configure in-memory quartz scheduler.

openag:spring-boot-starter-quartz

Parameters

Name Description Default Value
quartz.instance-id See 'org.quartz.scheduler.instanceId' in quartz configuration reference AUTO
quartz.persistent true if quartz persistent store must be used; false otherwise false
quartz.driver-delegate-class For the persistent store only, quartz driver {@link DriverDelegate} implementation See http://www.quartz-scheduler.org/documentation/quartz-2.2.x/configuration/ConfigJobStoreCMT.html for available options. If value is not set, database jdbc connection will be examined to identify the database type and pick the suitable implementation
quartz.use-properties See 'org.quartz.jobStore.useProperties' in quartz configuration reference true
quartz.clustered See 'org.quartz.jobStore.isClustered' in quartz configuration reference false
quartz.thread-count Max number of threads in default quartz executor thread pool. Not applicable if custom executor is used (see below) -1

Custom Executor

By default, quartz will use own java.util.concurrent.Executor instance to run the jobs (cached executor pool if thread-count<=0 or fixed pool if thread-count>0 with the thread count as parameter). Supply your openag.boot.quartz.ExecutorFactory instance in order to provide your own executor instance.

Custom JobFactory

By default, quartz will fetch job instances from the current bean factory usign the class name. Supply your org.quartz.spi.JobFactory to override that behavior

Liquibase Files

The project contains Liquibase (http://www.liquibase.org) file that will create/update all necessary database objects for quartz. Import openag/boot/quartz/liquibase/master.xml Liquibase definition file to your master file to get all necessary tables created or updated accordingly.

<include file="openag/boot/quartz/liquibase/master.xml"/>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.