IM通知设置¶
总览¶
常规通知功能的设置。
模块 通知功能一般 格式化文件(xsd) WEB-INF /模式/ im-notice-config.xsd 设定位置 WEB-INF / conf / im-notice-config.xml <?xml版本=“ 1.0”编码=“ UTF-8”?> <im-notice-config xmlns = “ http:// www。intra intra-mart .jp / notice / config / im-notice-config” xmlns: xsi = “ http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation = “ http:// www。intra intra-mart .jp / notice / config / im-notice-config ../ schema / im-notice-config.xsd“ > <base-url> </ base-url> <short-cut-duration-minutes> 43200 </ short-cut-duration-minutes> </ im-notice-config>
参考资料¶
设置BaseURL¶
标签名称 基本网址 设置intra-mart Accel Platform的BaseURL 。此设置用于创建快捷方式URL。如果未设置,将使用server-context-config.xml中指定的BaseURL 。通过作业执行到IM-Notice的消息传递处理时,需要设置BaseURL 。注意
如果不指定BaseURL ,则会发生以下错误。jp.co.intra_mart.system.notice.exception.NoticeRuntimeException:[E.NOTICE.CORE.00016]无法解析BaseURL 。[设定项目 ]
<base-url> http://example.org/imart </ base-url>
必填项目 × 多种设定 × 设置值 /设定内容 将BaseURL设置为上下文路径,以从客户端(浏览器等)进行访问。 单位/类型 URI 省略时的默认值 在server-context-config.xml中设置的BaseURL 父标签 im-notice-config
设置快捷方式URL的有效期¶
标签名称 持续时间短的分钟 设置快捷方式URL的有效期。如果客户端使用快捷方式URL登录后,有效期已过,则必须再次执行登录操作。[设定项目 ]
<short-cut-duration-minutes> 43200 </ short-cut-duration-minutes>
必填项目 ○ 多种设定 × 设置值 /设定内容 设置快捷方式URL的有效期。如果设置为“ 0”,则不会创建快捷方式URL。单位/类型 数字(分钟)(0-) 省略时的默认值 无 父标签 im-notice-config