diff --git a/xxl-job-executor-example/src/main/resources/xxl-job-executor.properties b/xxl-job-executor-example/src/main/resources/xxl-job-executor.properties index e1c342d6..2cd00d07 100644 --- a/xxl-job-executor-example/src/main/resources/xxl-job-executor.properties +++ b/xxl-job-executor-example/src/main/resources/xxl-job-executor.properties @@ -1,4 +1,4 @@ -### xxl-job admin address, such as "http://host01:port01/project,http://host02:port02/project" +### xxl-job admin address list, such as "http://address" or "http://address01,http://address02" xxl.job.admin.addresses=http://127.0.0.1:8080/xxl-job-admin ### xxl-job executor address diff --git a/xxl-job-executor-springboot-example/src/main/resources/applicationcontext-xxl-job.xml b/xxl-job-executor-springboot-example/src/main/resources/applicationcontext-xxl-job.xml index fe6ec146..44335ab6 100644 --- a/xxl-job-executor-springboot-example/src/main/resources/applicationcontext-xxl-job.xml +++ b/xxl-job-executor-springboot-example/src/main/resources/applicationcontext-xxl-job.xml @@ -1,8 +1,8 @@ @@ -16,7 +16,7 @@ - + @@ -27,34 +27,13 @@ - - - - - - - - - + + + + + - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/xxl-job-executor-springboot-example/src/main/resources/xxl-job-executor.properties b/xxl-job-executor-springboot-example/src/main/resources/xxl-job-executor.properties index a950b06c..2cd00d07 100644 --- a/xxl-job-executor-springboot-example/src/main/resources/xxl-job-executor.properties +++ b/xxl-job-executor-springboot-example/src/main/resources/xxl-job-executor.properties @@ -1,8 +1,5 @@ -### xxl-job db -xxl.job.db.driverClass=com.mysql.jdbc.Driver -xxl.job.db.url=jdbc:mysql://localhost:3306/xxl-job?useUnicode=true&characterEncoding=UTF-8 -xxl.job.db.user=root -xxl.job.db.password=root_pwd +### xxl-job admin address list, such as "http://address" or "http://address01,http://address02" +xxl.job.admin.addresses=http://127.0.0.1:8080/xxl-job-admin ### xxl-job executor address xxl.job.executor.appname=xxl-job-executor-example