Files
stream-applications/applications/processor/header-enricher-processor
Soby Chacko f863db2af1 Adding repos/pluginRepos to apps generation
This might be a temporory solution to address some issues on the CI envrionment.
We will most likely remove the changes from this commit later on once the CI
issues are addressed
2020-08-13 12:00:42 -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[]