pfx-api:save

 

Properties

Option

Type

Default

Description

Option

Type

Default

Description

outputTarget

string

 

Defines output target for data in the exchange. It can be stored in the header, property or body.

outputTargetName

string

 

Defines output target name for the target type header and property. Put here the name of exchange header and name of exchange property.

typedId

string

 

Defines typedId of the Pricefx entity.

mapper

string

 

Defines mapper name which is a Spring bean or a definition in the header or property.

converterStrategyType

string

 

Defines converterStrategyType for the auto conversion of data based on the partition metadata.

connection

string

 

Defines connection to Pricefx. This is an optional parameter and if it is not mentioned, the connection is taken from the Spring bean named pricefx.

The method gets data from the exchange body. The data must be an array.

Examples

<route> <from uri="direct:create4"/> <to uri="pfx-api:fetch?quoteUniqueName=P-7320&amp;objectType=Q"/> <setBody> <groovy>body[0]</groovy> </setBody> <setBody> <groovy> body["label"] = "Changed quote label" body </groovy> </setBody> <to uri="pfx-api:save?objectType=Q"/> <to uri="mock:create4"/> </route>

IntegrationManager version 5.8.0