Class AdditionalVariable

java.lang.Object
com.predic8.membrane.core.interceptor.log.AdditionalVariable

public class AdditionalVariable extends Object
  • Constructor Details

    • AdditionalVariable

      public AdditionalVariable()
  • Method Details

    • getExpression

      public org.springframework.expression.Expression getExpression()
    • setExpression

      public void setExpression(String expression)
      Description
      The SPEL expression to access the property on an ExchangeEvaluationContext Using camelCased headers like camelHeader will resolve to camel-header if the camelHeader is not present.
    • getName

      public String getName()
    • setName

      public void setName(String name)
      Description
      The key which can be used to access this value in log4j2.xml like %X{key}
    • getDefaultValue

      public String getDefaultValue()
    • setDefaultValue

      public void setDefaultValue(String defaultValue)
      Description
      The value if the exchange property is null. Defaults to "-"