|
|
|
|
@ -41,9 +41,9 @@ public class FrameLessXxlJobConfig {
|
|
|
|
|
xxlJobExecutor.setAppname(xxlJobProp.getProperty("xxl.job.executor.appname"));
|
|
|
|
|
xxlJobExecutor.setAddress(xxlJobProp.getProperty("xxl.job.executor.address"));
|
|
|
|
|
xxlJobExecutor.setIp(xxlJobProp.getProperty("xxl.job.executor.ip"));
|
|
|
|
|
xxlJobExecutor.setPort(Integer.valueOf(xxlJobProp.getProperty("xxl.job.executor.port")));
|
|
|
|
|
xxlJobExecutor.setPort(Integer.parseInt(xxlJobProp.getProperty("xxl.job.executor.port")));
|
|
|
|
|
xxlJobExecutor.setLogPath(xxlJobProp.getProperty("xxl.job.executor.logpath"));
|
|
|
|
|
xxlJobExecutor.setLogRetentionDays(Integer.valueOf(xxlJobProp.getProperty("xxl.job.executor.logretentiondays")));
|
|
|
|
|
xxlJobExecutor.setLogRetentionDays(Integer.parseInt(xxlJobProp.getProperty("xxl.job.executor.logretentiondays")));
|
|
|
|
|
|
|
|
|
|
// registry job bean
|
|
|
|
|
xxlJobExecutor.setXxlJobBeanList(Arrays.asList(new SampleXxlJob()));
|
|
|
|
|
|