From 6fd9caa7d44d4aba552fb6e08dcf984288dc54c8 Mon Sep 17 00:00:00 2001 From: curry772 Date: Fri, 17 Apr 2026 09:43:32 +0900 Subject: [PATCH] =?UTF-8?q?=EC=98=A4=EB=A5=98=EC=9D=91=EB=8B=B5=20?= =?UTF-8?q?=EB=94=94=ED=8F=B4=ED=8A=B8=20=ED=98=95=EC=8B=9D(ERROR=5FMESSAG?= =?UTF-8?q?E=5FDEFAULT=5FFORMAT)=20=ED=94=84=EB=9F=AC=ED=8D=BC=ED=8B=B0=20?= =?UTF-8?q?=EC=84=A4=EC=A0=95=20=EA=B0=80=EB=8A=A5=ED=95=98=EB=8F=84?= =?UTF-8?q?=EB=A1=9D=20=EC=88=98=EC=A0=95=20-=20=ED=94=84=EB=9F=AC?= =?UTF-8?q?=ED=8D=BC=ED=8B=B0=20=EA=B7=B8=EB=A3=B9=20:=20MessageUtil=20-?= =?UTF-8?q?=20=ED=94=84=EB=9F=AC=ED=8D=BC=ED=8B=B0=20:=20ERROR=5FMESSAGE?= =?UTF-8?q?=5FDEFAULT=5FFORMAT?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/eactive/eai/common/util/MessageUtil.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/eactive/eai/common/util/MessageUtil.java b/src/main/java/com/eactive/eai/common/util/MessageUtil.java index 97b348a..9adfbf9 100644 --- a/src/main/java/com/eactive/eai/common/util/MessageUtil.java +++ b/src/main/java/com/eactive/eai/common/util/MessageUtil.java @@ -23,6 +23,7 @@ import org.w3c.dom.Document; import com.eactive.eai.common.EAIKeys; import com.eactive.eai.common.message.MessageType; import com.eactive.eai.common.monitor.EAIServiceMonitor; +import com.eactive.eai.common.property.PropManager; import com.eactive.eai.transformer.message.ISO8583Message; import com.eactive.eai.transformer.message.ISO8583MessageFactory; import com.eactive.eai.transformer.util.IConv; @@ -517,7 +518,8 @@ public final class MessageUtil { public static String makeJsonErrorMessage(String code, String msg, String errorFormat) { if (StringUtils.isBlank(errorFormat)) { - errorFormat = ERROR_MESSAGE_DEFAULT_FORMAT; + errorFormat = PropManager.getInstance().getProperty("MessageUtil", + "ERROR_MESSAGE_DEFAULT_FORMAT", ERROR_MESSAGE_DEFAULT_FORMAT); } // errorFormat에 %s가 1개만 있으면 msg만, 2개 이상이면 code, msg 전달