From 7d3047165119e812621f832e8f884eb8b95fe1e8 Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Tue, 2 Apr 2024 11:23:57 +0900 Subject: [PATCH] =?UTF-8?q?=EC=A0=84=EC=86=A1=EC=8B=9C=20sourceMessage=20?= =?UTF-8?q?=EB=A1=9C=EA=B7=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/cokr/xit/interfaces/lntris/Requestor.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/cokr/xit/interfaces/lntris/Requestor.java b/src/main/java/cokr/xit/interfaces/lntris/Requestor.java index 81151b7..addf759 100644 --- a/src/main/java/cokr/xit/interfaces/lntris/Requestor.java +++ b/src/main/java/cokr/xit/interfaces/lntris/Requestor.java @@ -63,7 +63,9 @@ public class Requestor { try { init(); - String src = intfInfo.getSourceMessage().getHeader().getSource(); + SourceMessage sourceMessage = intfInfo.getSourceMessage(); + Log.get(Requestor.class).debug("sourceMessage:\n{}", json.stringify(sourceMessage)); + String src = sourceMessage.getHeader().getSource(); HttpResponse hresp = webClient.post(req -> req .uri(InterfaceConfig.remote().getUrl(intfInfo.type())) @@ -77,7 +79,7 @@ public class Requestor { .header("SRC_ORG_CD", src.substring(0, 7)) .header("SRC_SYS_CD", src.substring(7)) - .bodyData(intfInfo.getSourceMessage()) + .bodyData(sourceMessage) ); String body = hresp.body(); Log.get(Requestor.class).debug("targetMessage:\n{}", body);