Class ExchangeUtils

java.lang.Object
org.qubership.integration.platform.engine.util.ExchangeUtils

public class ExchangeUtils extends Object
  • Constructor Details

    • ExchangeUtils

      public ExchangeUtils()
  • Method Details

    • isCommonOrSystemVariableMap

      public static boolean isCommonOrSystemVariableMap(String propertyKey)
    • 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

      public static Map<String,Object> filterExchangeMap(Map<String,Object> map, Predicate<Map.Entry<String,Object>> filterPredicate)