package com.qxueyou.scc.base.service; import com.qxueyou.scc.base.model.Result; /** * ONS严格异常处理,消息处理都捕获Exception,并且不抛出,将异常存入表中 * @author ody.yuan * */ public interface IONSExceptionLogService { /** * ONS 日志记录 * * @param topic 订阅主题 * @param msgType 同一订阅主题支撑多个业务类型时,业务类型 * @param businessId异常堆栈:自定义ID * @param desp 参数列表 * @return */ Result logSaveExceptionLog(String topic, String msgType, String businessId, String desp); }