additionalVariable

Can be used in:

accessLog

Attributes

NameRequiredDefaultDescriptionExamples
expressiontrue-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.
-
defaultValuefalse-The value if the exchange property is null. Defaults to "-"
-
nametrue-The key which can be used to access this value in log4j2.xml like %X{key}
-