修复忽略的消息一直未标注未已处理。导致一直重复在处理的问题。
This commit is contained in:
@@ -43,7 +43,8 @@ public class MsgHandlerDispatcher {
|
||||
String subType = msg.getMETA().getSTYP().name();
|
||||
if(!isNeedHandler(type,subType))
|
||||
{
|
||||
logger.error("消息type:{},subtype:{},设置不需要处理!",type,subType);
|
||||
cminmsgService.updateBatchProcessed(Arrays.asList(cminmsg));//更新为已处理
|
||||
logger.warn("消息type:{},subtype:{},设置不需要处理!",type,subType);
|
||||
return HandlerResult.success();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user