pfx-json:remap

Provides the same functionality as , but it allows you to use a mapper in order to remap fields. The mapper is a .

Properties

Option

Type

Default

Description

Option

Type

Default

Description

synchronous

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