正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
@@ -83,7 +83,7 @@ public class IMFNoDelaySender extends Thread{ | @@ -83,7 +83,7 @@ public class IMFNoDelaySender extends Thread{ | ||
83 | //初始化最终发布报文内容的存储器 | 83 | //初始化最终发布报文内容的存储器 |
84 | String sendMsg = ""; | 84 | String sendMsg = ""; |
85 | String xmlStr = m.getContent(); | 85 | String xmlStr = m.getContent(); |
86 | -//_____________________________________解析华东的报文------------------------------------------------------------------------------------------- | 86 | +//_____________________________________解析华东的报文给九州------------------------------------------------------------------------------------------- |
87 | if (xmlStr.contains("<MessageType>IS1</MessageType>")){ | 87 | if (xmlStr.contains("<MessageType>IS1</MessageType>")){ |
88 | IMFXMLMaker haiguanXml = new IMFXMLMaker("DCKS",Integer.toString(m.getFid()),"DFME","IS1"); | 88 | IMFXMLMaker haiguanXml = new IMFXMLMaker("DCKS",Integer.toString(m.getFid()),"DFME","IS1"); |
89 | haiguanXml.setIMFContent(m.getContent()); | 89 | haiguanXml.setIMFContent(m.getContent()); |
@@ -101,7 +101,7 @@ public class IMFNoDelaySender extends Thread{ | @@ -101,7 +101,7 @@ public class IMFNoDelaySender extends Thread{ | ||
101 | haiguanXml.setIMFContent(m.getContent()); | 101 | haiguanXml.setIMFContent(m.getContent()); |
102 | sendMsg = haiguanXml.finalXmlStr(); | 102 | sendMsg = haiguanXml.finalXmlStr(); |
103 | } else { | 103 | } else { |
104 | -//_____________________________________解析天信达的报文,读取配置文件,替换相关参数------------------------------------------------------------------------------------------- | 104 | +//_____________________________________解析天信达的报文,读取配置文件,替换相关参数给九州------------------------------------------------------------------------------------------- |
105 | sendMsg= Utils.searchReplace(m.getContent(), header.getSndr(), "SNDR"); | 105 | sendMsg= Utils.searchReplace(m.getContent(), header.getSndr(), "SNDR"); |
106 | sendMsg = Utils.searchReplace(sendMsg, header.getType(), "TYPE"); //替换报文主类型 | 106 | sendMsg = Utils.searchReplace(sendMsg, header.getType(), "TYPE"); //替换报文主类型 |
107 | 107 |
-
请 注册 或 登录 后发表评论