pfx-json:remap
Provides the same functionality as pfx-json:unmarshal, but it allows you to use a mapper in order to remap fields. The mapper is a Multilevel Mapper.
Properties
Option | Type | Default | Description |
---|---|---|---|
| Boolean | false | Sets whether only synchronous processing should be used or whether Camel is allowed to use asynchronous processing (if supported). |
Examples
Unmarshal JSON into internal representation
<route>
<from uri="direct:create6"/>
<setBody>
<simple>{"typedId":"252","additionalInfo3":"0Q01i000000r2mgCAA","lineItems":[]}</simple>
</setBody>
<to uri="pfx-json:remap?mapper=myMultilevelMapper"/>
<to uri="pfx-api:save?objectType=Q"/>
<to uri="mock:create6"/>
</route>
Â
IntegrationManager version 5.8.0