From 3e1fe78eb40b9fe8cd0ccd3efee7e87cd0518e72 Mon Sep 17 00:00:00 2001 From: "xueli.xue" Date: Wed, 10 May 2017 23:13:04 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E5=90=8C=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/xxl-job-executor.properties | 2 +- .../resources/applicationcontext-xxl-job.xml | 39 +++++-------------- .../resources/xxl-job-executor.properties | 7 +--- 3 files changed, 12 insertions(+), 36 deletions(-) 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