|
@@ -25,14 +25,16 @@
|
|
<bean id="xxlJobSpringExecutor" class="com.xxl.job.core.executor.impl.XxlJobSpringExecutor" >
|
|
<bean id="xxlJobSpringExecutor" class="com.xxl.job.core.executor.impl.XxlJobSpringExecutor" >
|
|
<!-- 执行器注册中心地址[选填],为空则关闭自动注册 -->
|
|
<!-- 执行器注册中心地址[选填],为空则关闭自动注册 -->
|
|
<property name="adminAddresses" value="${xxl.job.admin.addresses}" />
|
|
<property name="adminAddresses" value="${xxl.job.admin.addresses}" />
|
|
|
|
+ <!-- 访问令牌[选填],非空则进行匹配校验 -->
|
|
|
|
+ <property name="accessToken" value="${xxl.job.accessToken}" />
|
|
<!-- 执行器AppName[选填],为空则关闭自动注册 -->
|
|
<!-- 执行器AppName[选填],为空则关闭自动注册 -->
|
|
<property name="appName" value="${xxl.job.executor.appname}" />
|
|
<property name="appName" value="${xxl.job.executor.appname}" />
|
|
|
|
+ <!-- 注册地址[选填],优先使用该配置作为注册地址,为空时使用内嵌服务 ”IP:PORT“ 作为注册地址 -->
|
|
|
|
+ <property name="address" value="${xxl.job.executor.address}" />
|
|
<!-- 执行器IP[选填],为空则自动获取 -->
|
|
<!-- 执行器IP[选填],为空则自动获取 -->
|
|
<property name="ip" value="${xxl.job.executor.ip}" />
|
|
<property name="ip" value="${xxl.job.executor.ip}" />
|
|
<!-- 执行器端口号[选填],小于等于0则自动获取 -->
|
|
<!-- 执行器端口号[选填],小于等于0则自动获取 -->
|
|
<property name="port" value="${xxl.job.executor.port}" />
|
|
<property name="port" value="${xxl.job.executor.port}" />
|
|
- <!-- 访问令牌[选填],非空则进行匹配校验 -->
|
|
|
|
- <property name="accessToken" value="${xxl.job.accessToken}" />
|
|
|
|
<!-- 执行器日志路径[选填],为空则使用默认路径 -->
|
|
<!-- 执行器日志路径[选填],为空则使用默认路径 -->
|
|
<property name="logPath" value="${xxl.job.executor.logpath}" />
|
|
<property name="logPath" value="${xxl.job.executor.logpath}" />
|
|
<!-- 日志保存天数[选填],值大于3时生效 -->
|
|
<!-- 日志保存天数[选填],值大于3时生效 -->
|