pfx-api:refresh

 

Properties

Option

Type

Default

Description

Option

Type

Default

Description

targetName

string

 

 

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.

incrementalDate

string

 

 

connection

string

 

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

incremental

Boolean

 

If set, sets incremental flag in Pricefx request. If incrementalDate is set, the incremental flag in the Pricefx request will always be sent as true.

The methods takes the exchange body as a data object.

Examples

<route> <from uri="direct:start"/> <setProperty name="incrementalDate"> <groovy>java.time.ZonedDateTime.now(java.time.ZoneOffset.UTC)</groovy> </setProperty> <to uri="pfx-api:refresh?targetName=DM.Prices&amp;incrementalDate=simple:${exchangeProperty.incrementalDate}"/> <to uri="mock:end"/> </route>

IntegrationManager version 5.8.0