pfx-json:transform
Transforms JSON into internal representation and offers more options for loading.
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). |
| object | Hydrated | Defines the output type. Possible values: Hydrated, JsonString. |
| string |  | Specifies the source for jolt transformation. |
| object | Hydrated | Defines the input type. Possible values: Hydrated, JsonString. |
Examples
Unmarshal JSON into internal representation with options
<route>
<from uri="direct:create6"/>
<setBody>
<simple>{"typedId":"252","additionalInfo3":"0Q01i000000r2mgCAA","lineItems":[]}</simple>
</setBody>
<to uri="pfx-json:transform?inputType=JsonString&outputType=Hydrated"/>
<to uri="pfx-api:save?objectType=Q"/>
<to uri="mock:create6"/>
</route>
Â
IntegrationManager version 5.8.0