Message Transformation EIPs

These EIPs are extensions of the Message Translator EIP, and are dedicated to some special use cases.

The Content Enricher EIP

The Content Enricher EIP describes how to enrich the message with another system. For instance, the message contains an identifier, and you want to populate the data associated with this ID from a database.

To implement this EIP, you can use a bean or a processor as you do in the Message Translator EIP.

You can also use an endpoint that uses a transformation tool (such as Velocity, Xslt, and so on).

However, Camel provides two notations dedicated to content enrichment. They are as follows:

  • enrich uses a producer endpoint to retrieve the data and use an aggregation strategy (like in the Aggregator ...

Get Mastering Apache Camel now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.