pfx-json:unmarshal
Allows you to transform input JSON in body into internal representation.
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
<route>
<from uri="direct:create6"/>
<setBody>
<simple>{"typedId":"252","additionalInfo3":"0Q01i000000r2mgCAA","lineItems":[]}</simple>
</setBody>
<to uri="pfx-json:unmarshal"/>
<to uri="pfx-api:save?objectType=Q"/>
<to uri="mock:create6"/>
</route>
IntegrationManager version 5.8.0