修改ExchangeService 抽象定义msg , xml ,json 间的转换

This commit is contained in:
zhouxiunai
2019-01-08 14:56:52 +08:00
parent 6b4fb1ac60
commit f4613f219e
11 changed files with 136 additions and 14 deletions
@@ -27,7 +27,7 @@ public class MsgHandlerDispatcher {
{
try
{
MSG msg = exchangeService.xmlstrToObject(cminmsg.getCminmsgsClobMsg(), MSG.class);
MSG msg = exchangeService.xmlToMsg(cminmsg.getCminmsgsClobMsg());
String type = msg.getMETA().getTYPE().name();
String subType = msg.getMETA().getSTYP().name();