Name
Enrich — Enriches a message with data from a secondary resource
Usage
The enrich pattern pulls data from an endpoint outside of the route and uses it
to enrich the message being processed by the route. An
AggregationStrategy
is used to determine how the
data is combined.
The enrich pattern can be used anywhere in the body of a route.
Properties
Table 5.2 describes the properties you can specify using the properties editor.
Table 5.2. Enrich Properties
Name | Description |
---|---|
Resource Uri | Specifies the URI of the endpoint from which the enrichment data is pulled. |
Aggregation Strategy Ref | Specifies a reference for looking up the
AggregationStrategy in the registry. |
Id | Specifies a unique identifier for the endpoint. The Id can be used to refer to the endpoint in the Apache Camel configuration file. |
Description | Specifies a text description of the bean. The description is included in the generated XML file. |