Mapper Examples

Examples of mapper configurations showing different expression types, converters, and mapping patterns.

Example

Pattern

Key Feature

Body Mapping (Simple Field Copy)

<body in="..." out="..."/>

Direct 1:1 field mapping

Groovy Expressions

<groovy expression="..." out="..."/>

Complex transformations with Groovy

Type Converters

converter="stringToDecimal"

Converting string values to typed fields

Constant and Simple Expressions

<constant>, <simple>

Static values and Camel expressions

IntegrateMapper with Business Keys

<integrateMapper>

Upsert with key matching