Standard header enricher - Custom header
Name
Name (uniquely) identifying this message header.
Required
Value
Literal value for this message header. Note that you can also use property values (${...}
) here.
To specify a non-literal value, see the expression and reference options on the advanced tab.
Expression
SpEL expression to be evaluated at runtime to determine the header value. The evaluation context will include variables for payload
and headers
.
Reference
Reference to any bean within this configuration that will be used as the value for this header.
Note that bean references can only be used within the same message flow, i.e. sending such a header to another flow or system is usually pointless.
Overwrite
Whether this header value should overwrite an existing header value for the same name.
Default is false.
Type
The fully qualified class name of the header value's expected type when using value or expression.
Optional