Files
stream-applications/applications/processor/header-enricher-processor
2020-10-11 10:43:16 -04:00
..
2020-10-11 10:43:16 -04:00
2020-05-08 15:36:13 -04:00

//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[]