程序包 cn.zhxu.toys.msg
接口 DynamicMsgSender.RoutingConfigurer
- 封闭类:
- DynamicMsgSender
public static interface DynamicMsgSender.RoutingConfigurer
-
方法概要
修饰符和类型方法说明感知当前平台的主键标识getInitParams(Object lookupKey) 获取当前平台的消息发送器的初始化参数getTemplate(Object lookupKey, String tmplName) 获取当前平台的消息模板
-
方法详细资料
-
determineCurrentLookupKey
Object determineCurrentLookupKey()感知当前平台的主键标识- 返回:
- 当前租户的主键标识
-
getInitParams
获取当前平台的消息发送器的初始化参数- 参数:
lookupKey- 当前租户的主键标识- 返回:
- 初始化参数
-
getTemplate
获取当前平台的消息模板- 参数:
lookupKey- 当前租户的主键标识tmplName- 模板名称- 返回:
- 模板值
-