Commit 2568aad9 by zhanghou

修改service bug

parent 311b39ba
......@@ -43,6 +43,9 @@ public class Mx2MtCreatorManager {
.trim();
Mx2MtContext context = new Mx2MtContext();
String service = getServiceMessage(xml);
if(StringUtil.isEmpty(service)){
service = "";
}
context.set(Mx2MtContextIdentifier.MX_TO_MT_SERVICE,service);
Document document = DocumentHelper.parseText(xml);
context.set(Mx2MtContextIdentifier.MX_TO_MT_LISTENER_CLASS, new Mx2MtListener()); //注册监听器
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment