我将Spring Boot与Apache骆驼一起使用,并且我想创建石英调度程序,但是当我使用此配置时,什么都没发生:
Timer
有人知道为什么此配置不起作用吗?骆驼只能从默认配置中看到此配置
camel:
component:
quartz2:
properties:
org:
quartz:
scheduler:
instanceName: ClusteredSchedular
instanceId: AUTO
threadPool:
class: org.quartz.simpl.SimpleThreadPool
threadCount: 25
threadPriority: 5
jobStore:
class: org.quartz.impl.jdbcjobstore.JobStoreTX
driverDelegateclass: org.quartz.impl.jdbcjobstore.oracle.OracleDelegate
dataSource: quartz
isClustered: true
clusterCheckinInterval: 20000
dataSource:
quartz:
driver: oracle.jdbc.driver.OracleDriver
URL: jdbc:oracle:thin:@localhost:1521:xe
user: test
password: test
maxConnections: 5
validationQuery: select 1 from dual