Browse Source

升级:修改xxljob相关配置

zhongwei
ty 6 months ago
parent
commit
142573b3c7
  1. 2
      hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/config/XxlJobConfig.java
  2. 2
      hzims-service/weather/src/main/java/com/hnac/hzims/weather/config/XxlJobConfig.java
  3. 2
      pom.xml

2
hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/config/XxlJobConfig.java

@ -41,7 +41,7 @@ public class XxlJobConfig {
log.info(">>>>>>>>>>> xxl-job config init.");
XxlJobSpringExecutor xxlJobSpringExecutor = new XxlJobSpringExecutor();
xxlJobSpringExecutor.setAdminAddresses(adminAddresses);
xxlJobSpringExecutor.setAppName(appName);
xxlJobSpringExecutor.setAppname(appName);
xxlJobSpringExecutor.setIp(ip);
xxlJobSpringExecutor.setPort(port);
System.out.println(">>>>>>>>>>> xxl-rpc, port " + port);

2
hzims-service/weather/src/main/java/com/hnac/hzims/weather/config/XxlJobConfig.java

@ -42,7 +42,7 @@ public class XxlJobConfig {
log.info(">>>>>>>>>>> xxl-job config init.");
XxlJobSpringExecutor xxlJobSpringExecutor = new XxlJobSpringExecutor();
xxlJobSpringExecutor.setAdminAddresses(adminAddresses);
xxlJobSpringExecutor.setAppName(appName);
xxlJobSpringExecutor.setAppname(appName);
xxlJobSpringExecutor.setIp(ip);
xxlJobSpringExecutor.setPort(port);
System.out.println(">>>>>>>>>>> xxl-rpc, port " + port);

2
pom.xml

@ -15,7 +15,7 @@
<properties>
<hzinfo.platform.version>5.1.3.RELEASE.fix2</hzinfo.platform.version>
<data.sdk.version>5.1.3.RELEASE.fix3</data.sdk.version>
<data.sdk.version>5.2.0.0-SNAPSHOT</data.sdk.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>1.8</java.version>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

Loading…
Cancel
Save