Commit b974a2c9 by chengzhuoshen

1.mx2MtMap增加mt报文

2.修改配置文件
parent 376f6c7a
......@@ -30,6 +30,7 @@ public class MxMessageReader {
return null;
}
Map<String, String> infMap = new HashMap();
infMap.put("swtMsg", str.getMessage());
AbstractMT abstractMT = AbstractMT.parse(mtStr);
SwiftBlock5 swiftBlock5 = abstractMT.getSwiftMessage().getBlock5();
if (swiftBlock5 != null && swiftBlock5.getTags().size() > 0) {
......@@ -448,11 +449,11 @@ public class MxMessageReader {
}
if (failureFlag) {
infMap.put("errorCode", "E"); //
infMap.put("errCde", "E"); //
} else {
infMap.put("errorCode", "S"); //
infMap.put("errCde", "S"); //
}
infMap.put("errorDsp", errorDsp);
infMap.put("errDsp", errorDsp);
return infMap;
} catch (IOException e) {
throw new SwiftException(e.getMessage());
......
#APPLICATION HEADER
rBic=appHdr.fr.fiId.finInstnId.bicfi?appHdr.fr.orgId.id.orgId.anyBIC
frBic=appHdr.fr.fiId.finInstnId.bicfi?appHdr.fr.orgId.id.orgId.anyBIC
toBic=appHdr.to.fiId.finInstnId.bicfi?appHdr.to.orgId.id.orgId.anyBIC
bizMsgIdr=fiCdtTrf.cdtTrfTxInf.pmtId.instrId?fiCdtTrf.grpHdr.msgId?appHdr.bizMsgIdr
msgDefIdr=appHdr.msgDefIdr
......
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