|
|
@ -42,8 +42,8 @@ public class BaseXxlJobConfig { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Bean(initMethod = "start", destroyMethod = "destroy") |
|
|
|
@Bean(initMethod = "start", destroyMethod = "destroy") |
|
|
|
public XxlJobExecutor xxlJobExecutor() { |
|
|
|
public XxlJobExecutor BaseXxlJobExecutor() { |
|
|
|
log.info(">>>>>>>>>>> xxl-job config init."); |
|
|
|
log.info(">>>>>>>>>>> base xxl-job config init."); |
|
|
|
XxlJobExecutor xxlJobExecutor = new XxlJobExecutor(); |
|
|
|
XxlJobExecutor xxlJobExecutor = new XxlJobExecutor(); |
|
|
|
xxlJobExecutor.setAdminAddresses(adminAddresses); |
|
|
|
xxlJobExecutor.setAdminAddresses(adminAddresses); |
|
|
|
xxlJobExecutor.setAppName(appName); |
|
|
|
xxlJobExecutor.setAppName(appName); |
|
|
|