유량제어 FIX, 표준전문 FIX

This commit is contained in:
yunjy-hp
2025-12-30 10:24:29 +09:00
parent fc62566769
commit 35fbb77191
2 changed files with 5 additions and 6 deletions
@@ -1036,6 +1036,7 @@ public class RequestProcessor extends RequestProcessorSupport {
}
}
String inflowErrorMsg;
if (blockedType.length() > 0) {
InflowTargetVO inflowTargetVO = null;
InflowGroupVO inflowGroupVO = null;
@@ -1046,7 +1047,6 @@ public class RequestProcessor extends RequestProcessorSupport {
} else {
inflowTargetVO = bucket.getInterfaceInflowThreashold(vo.getEaiSvcCd());
}
String inflowErrorMsg;
// 에러처리
vo.setRspErrorCode(EAIMessageKeys.EAI_INFLOW_BLOCKED_CODE);
if (inflowGroupVO != null) {
@@ -1161,7 +1161,8 @@ public class RequestProcessor extends RequestProcessorSupport {
if (logger.isError())
logger.error(guidLogPrefix + " : 유량제어 비동기 에러응답송신 실패 - " + ee.toString());
}
return null;
throw new HttpStatusException(eaiMsg.getRspErrMsg(), eaiMsg.getRspErrCd(),
HttpStatus.TOO_MANY_REQUESTS.value());
}
}
}
@@ -1273,7 +1274,7 @@ public class RequestProcessor extends RequestProcessorSupport {
}
//응답 전 표준 전문의 로직 처리 필요 한 경우를 위해 호출
standardManager.getMessageCoordinator().coordinateBeforeResponse(standardMessage, vo, prop, inboundCharset);
standardManager.getMessageCoordinator().coordinateBeforeResponse(retEaiMsg.getStandardMessage(), vo, prop, inboundCharset);
// 10. 응답 거래로그 Logging
if(EAIMessageKeys.SYNC_SVC.equals(svcTsmtUsgTp) &&