pfx-json:transform

Transforms JSON into internal representation and offers more options for loading.

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).

outputType

object

Hydrated

Defines the output type. Possible values: Hydrated, JsonString.

specification

string

 

Specifies the source for jolt transformation. 

inputType

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