春季启动Apache Camel Quartz JDBC调度程序

我将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
taodaidai 回答:春季启动Apache Camel Quartz JDBC调度程序

我宁愿使用springboot数据源来启用石英集群。

 redirect(request.META.get('HTTP_REFERER'))
本文链接:https://www.f2er.com/3016002.html

大家都在问