타발응답거래(R2) 거래시 로그 출력 및 응답 안주는 문제 처리

- R2거래이어도 동기 거래이기 때문에 응답을 전달해야 함.
- 로그도 100 ~ 400을 출력해야 함.
This commit is contained in:
curry772
2026-07-30 08:57:09 +09:00
parent 6ca653aa1e
commit f4d7ac2fad
2 changed files with 10 additions and 10 deletions
@@ -1316,8 +1316,8 @@ public class RequestProcessor extends RequestProcessorSupport {
}
// 10. 응답 거래로그 Logging
if(EAIMessageKeys.SYNC_SVC.equals(svcTsmtUsgTp) &&
STDMessageKeys.SEND_RECV_CD_SEND.equals(returnType) ) {
if(EAIMessageKeys.SYNC_SVC.equals(svcTsmtUsgTp)) { //&&
// STDMessageKeys.SEND_RECV_CD_SEND.equals(returnType) ) {
try {
retEaiMsg.setLogPssSno(400);
// String retGuid = mapper.getGuid(retEaiMsg.getStandardMessage());
@@ -1341,8 +1341,8 @@ public class RequestProcessor extends RequestProcessorSupport {
}
// 기동시스템과 Sync 이고 요청거래인 경우
if(EAIMessageKeys.SYNC_SVC.equals(svcTsmtUsgTp) &&
STDMessageKeys.SEND_RECV_CD_SEND.equals(returnType) ) {
if(EAIMessageKeys.SYNC_SVC.equals(svcTsmtUsgTp)) { //&&
// STDMessageKeys.SEND_RECV_CD_SEND.equals(returnType) ) {
prop.put(HttpAdapterServiceKey.STANDARD_MESSAGE_OBJECT, retEaiMsg.getStandardMessage());
Object retMsgObject = retEaiMsg.getStandardMessage().getBizData();
//sync 시뮬레이터 때문에 추가됨 juns 20211029
@@ -429,13 +429,13 @@ public class HTTPProcess extends DefaultProcess {
this.isComp = false;
}
String returnType = getReturnType(reqEaiMsg);
if (STDMessageKeys.SEND_RECV_CD_RECV.equals(returnType)) {
this.logPssSno = 400;
} else {
// String returnType = getReturnType(reqEaiMsg);
//
// if (STDMessageKeys.SEND_RECV_CD_RECV.equals(returnType)) {
// this.logPssSno = 400;
// } else {
this.logPssSno = TranLogUtil.getReqLogSeq(this.svcPssTp, this.svcPssSeq, this.isComp);
}
// }
// Inbound Adapter mesageType
AdapterManager adapterManager = AdapterManager.getInstance();