pfx-json:marshal

Allows you to transform internal representation into JSON.

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

Creates internal object and transforms it into JSON

<route> <from uri="direct:create6"/> <setBody> <groovy>[typedId:252,additionalInfo3:"0Q01i000000r2mgCAA",lineItems:[]]</simple> </setBody> <to uri="pfx-json:marshal"/> <to uri="mock:create6"/> </route>

IntegrationManager version 5.8.0