additionalVariable

Version

Attributes

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

Can be used in