Spring Boot Starter for Quartz Scheduler (http://quartz-scheduler.org)
Current Quartz version: 2.2.3
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
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 |
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.
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
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"/>