1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
| 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);
|
|
| }
|
|