From 450506ca96cbd78fd2ea8537a2e7508e64284e13 Mon Sep 17 00:00:00 2001 From: Redkale <8730487+redkale@users.noreply.github.com> Date: Sat, 30 May 2020 11:32:16 +0800 Subject: [PATCH] --- src/META-INF/application-template.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/META-INF/application-template.xml b/src/META-INF/application-template.xml index 965000bcd..0483e2f58 100644 --- a/src/META-INF/application-template.xml +++ b/src/META-INF/application-template.xml @@ -176,6 +176,7 @@ 在同一个进程中同一个name同一类型的Service将共用同一个实例 autoload="true" 默认值. 自动加载classpath下所有的Service类 autoload="false" 需要显著的指定Service类 + mq: 所属的MQ管理器,当 protocol == SNCP 时该值才有效, 存在该属性表示Service的SNCP协议采用消息总线代理模式 includes: 当autoload="true", 拉取类名与includes中的正则表达式匹配的类, 多个正则表达式用分号;隔开 excludes: 当autoload="true", 排除类名与excludes中的正则表达式匹配的类, 多个正则表达式用分号;隔开 groups: 所属组的节点,多个节点值用;隔开,如果配置文件中存在多个SNCP协议的Server节点,需要显式指定group属性. @@ -231,6 +232,7 @@ 当Server为HTTP协议时, rest节点才有效。存在[rest]节点则Server启动时会加载REST服务, 节点可以多个,(WATCH协议不需要设置,系统会自动生成) path: servlet的ContextPath前缀 默认为空 base: REST服务的BaseServlet,必须是 org.redkale.net.http.HttpServlet 的子类,且子类必须标记@HttpUserType。 + mq: 所属的MQ管理器, 存在该属性表示RestService的请求来自于消息总线 autoload:默认值"true" 默认值. 加载当前server所能使用的Servce对象; includes:当autoload="true", 拉取类名与includes中的正则表达式匹配的类, 多个正则表达式用分号;隔开 excludes:当autoload="true", 排除类名与excludes中的正则表达式匹配的类, 多个正则表达式用分号;隔开