| 123456789101112 |
- package org.ccframe.app;
- import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
- import org.springframework.context.annotation.ComponentScan;
- import org.springframework.context.annotation.Configuration;
- @Configuration
- @ConditionalOnProperty(value = "app.init.qserver", havingValue = "true")
- @ComponentScan({"org.ccframe.subsys.*.job"}) //如果设置为队列和定时节点,才会跑Job
- public class ProcessorConfig {
-
- }
|