Class AdditionalVariable
java.lang.Object
com.predic8.membrane.core.interceptor.log.AdditionalVariable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.expression.ExpressiongetName()voidsetDefaultValue(String defaultValue) voidsetExpression(String expression) void
-
Constructor Details
-
AdditionalVariable
public AdditionalVariable()
-
-
Method Details
-
getExpression
public org.springframework.expression.Expression getExpression() -
setExpression
- 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
-
setName
- Description
- The key which can be used to access this value in log4j2.xml like %X{key}
-
getDefaultValue
-
setDefaultValue
- Description
- The value if the exchange property is null. Defaults to "-"
-