additionalVariable

Can be used in:

accessLog

Attributes

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