전송시 sourceMessage 로그

master
mjkhan21 8 months ago
parent e6a2e0560e
commit 7d30471651

@ -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<String> 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);

Loading…
Cancel
Save