Class ExchangeUtils
java.lang.Object
org.qubership.integration.platform.engine.util.ExchangeUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidinterruptExchange(org.apache.camel.Exchange exchange, int responseCode) static voidinterruptExchange(org.apache.camel.Exchange exchange, int responseCode, Exception e) static booleanisCommonOrSystemVariableMap(String propertyKey) static Map<String, SessionElementProperty> prepareExchangePropertiesForLogging(org.apache.camel.Exchange exchange) static voidsetContentTypeIfMissing(org.apache.camel.Exchange exchange)
-
Constructor Details
-
ExchangeUtils
public ExchangeUtils()
-
-
Method Details
-
isCommonOrSystemVariableMap
-
interruptExchange
public static void interruptExchange(org.apache.camel.Exchange exchange, int responseCode) -
interruptExchange
public static void interruptExchange(org.apache.camel.Exchange exchange, int responseCode, Exception e) -
prepareExchangePropertiesForLogging
public static Map<String,SessionElementProperty> prepareExchangePropertiesForLogging(org.apache.camel.Exchange exchange) -
setContentTypeIfMissing
public static void setContentTypeIfMissing(org.apache.camel.Exchange exchange) -
filterExchangeMap
-