From a4f35f6a45cce424a3edfd8d309637c91660059f Mon Sep 17 00:00:00 2001 From: cho Date: Fri, 23 Jan 2026 15:02:32 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9A=94=EA=B5=AC=EC=82=AC=ED=95=AD=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD=20=EC=9B=90=EB=B3=B5=20(SimpleFrameworkFilte?= =?UTF-8?q?r=20->=20AsyncReponseFilter=20)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../client/filter/SimpleFrameworkFilter.java | 27 +------------------ 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/src/main/java/com/eactive/eai/custom/kjb/adapter/http/client/filter/SimpleFrameworkFilter.java b/src/main/java/com/eactive/eai/custom/kjb/adapter/http/client/filter/SimpleFrameworkFilter.java index 0e65346..6af88ac 100644 --- a/src/main/java/com/eactive/eai/custom/kjb/adapter/http/client/filter/SimpleFrameworkFilter.java +++ b/src/main/java/com/eactive/eai/custom/kjb/adapter/http/client/filter/SimpleFrameworkFilter.java @@ -1,6 +1,5 @@ package com.eactive.eai.custom.kjb.adapter.http.client.filter; -import java.util.Arrays; import java.util.Map; import java.util.Properties; import java.util.TreeMap; @@ -10,7 +9,6 @@ import org.apache.commons.lang3.StringUtils; import com.eactive.eai.adapter.http.dynamic.HttpAdapterServiceKey; import com.eactive.eai.adapter.http.dynamic.HttpAdapterServiceSupport; import com.eactive.eai.common.TransactionContextKeys; -import com.eactive.eai.common.property.PropManager; import com.eactive.eai.common.util.Logger; public class SimpleFrameworkFilter implements HttpClientAdapterFilter, HttpAdapterServiceKey { @@ -21,9 +19,6 @@ public class SimpleFrameworkFilter implements HttpClientAdapterFilter, HttpAdapt public static final String GUID = "guid"; public static final String RECEIVEDTIMESTAMP = "receivedTimestamp"; public static final String PARTNER_TRACE_ID = "partnerTraceId"; - - public static final String PROPERTIES_GROUP_NAME = "HttpHeaderFilter"; - public static final String HEADER_KEY_NAMES = "SimpleFrameworkFilter"; @Override public Object doPreFilter(String adptGrpName, String adptName, Properties prop, Object message, Properties tempProp) @@ -37,19 +32,9 @@ public class SimpleFrameworkFilter implements HttpClientAdapterFilter, HttpAdapt tempProp.put("FILTERHEADER", filterHeaders); } - String propValue = PropManager.getInstance().getProperty(PROPERTIES_GROUP_NAME, HEADER_KEY_NAMES, "").trim(); - - String[] headerKeyNames = propValue.split(","); - - - headerKeyNames = Arrays.stream(headerKeyNames) - .map(String::trim) - .toArray(String[]::new); - - Map inboundHeaderMap = getInboundHeaderProp(tempProp); + Map inboundHeaderMap = getInboundHeaderProp(tempProp); try { - /* 업체정보 */ String clientId = tempProp.getProperty(HttpAdapterServiceSupport.PROPERTIES_NAME_CLIENT_ID); if (StringUtils.isEmpty(clientId)) clientId = ""; @@ -80,16 +65,6 @@ public class SimpleFrameworkFilter implements HttpClientAdapterFilter, HttpAdapt logger.debug("SimpleFrameworkFilter] Processing Key ["+TransactionContextKeys.X_LOAN_TOKEN+"], value ["+x_loan_token+"]"); - for( String keyName : inboundHeaderMap.keySet() ) { - - if( StringUtils.equalsAnyIgnoreCase(keyName, headerKeyNames) ) { - String value = inboundHeaderMap.get(keyName); - filterHeaders.put(keyName, value); - logger.debug("SimpleFrameworkFilter] Processing Key ["+keyName+"], value ["+value+"]"); - } - - } - } catch (Exception e) { logger.error(e.getMessage()); }