Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Transformation

Transformation patterns change the content, format, or type of the exchange body. They convert between wire formats, enrich the body with external data, or set the body from an expression. They correspond to the Message Transformation category in Hohpe and Woolf.

  • Convert Body — convert the exchange body to a new type in the pipeline
  • Marshal and Unmarshal — serialize and deserialize the body to or from a named format
  • Transform — set the body from a Simple expression or a literal value
  • Script — run an inline script that can modify the exchange
  • Poll Enrich — poll a resource and replace the body with the result
  • Content Enricher — call a resource and replace the body with the enriched result

For the data types these steps operate on, see Exchange and Message.