|
|
|
@ -12,7 +12,7 @@ import org.springframework.context.annotation.Configuration;
|
|
|
|
|
* |
|
|
|
|
* @author xuxueli 2017-04-28 |
|
|
|
|
*/ |
|
|
|
|
@Configuration(proxyBeanMethods = false) |
|
|
|
|
//@Configuration(proxyBeanMethods = false)
|
|
|
|
|
public class XxlJobConfig { |
|
|
|
|
private final Logger logger = LoggerFactory.getLogger(XxlJobConfig.class); |
|
|
|
|
|
|
|
|
@ -38,7 +38,7 @@ public class XxlJobConfig {
|
|
|
|
|
private int logRetentionDays; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Bean |
|
|
|
|
// @Bean
|
|
|
|
|
public XxlJobSpringExecutor xxlJobExecutor() { |
|
|
|
|
logger.info(">>>>>>>>>>> xxl-job config init."); |
|
|
|
|
XxlJobSpringExecutor xxlJobSpringExecutor = new XxlJobSpringExecutor(); |
|
|
|
|