19 lines
820 B
Plaintext
19 lines
820 B
Plaintext
//tag::ref-doc[]
|
|
= Header Enricher Processor
|
|
|
|
Use the header-enricher app to add message headers.
|
|
|
|
The headers are provided in the form of new line delimited key value pairs, where the keys are the header names and the values are SpEL expressions.
|
|
For example `--headers='foo=payload.someProperty \n bar=payload.otherProperty'`.
|
|
|
|
== Options
|
|
|
|
The **$$header-enricher$$** $$processor$$ has the following options:
|
|
|
|
//tag::configuration-properties[]
|
|
$$header.enricher.headers$$:: $$\n separated properties representing headers in which values are SpEL expressions, e.g foo='bar' \n baz=payload.baz.$$ *($$Properties$$, default: `$$<none>$$`)*
|
|
$$header.enricher.overwrite$$:: $$set to true to overwrite any existing message headers.$$ *($$Boolean$$, default: `$$false$$`)*
|
|
//end::configuration-properties[]
|
|
|
|
//end::ref-doc[]
|