pfx-api:refresh
Properties
Option | Type | Default | Description |
---|---|---|---|
| string |
|
|
| string |
| Defines output target for data in the exchange. It can be stored in the header, property or body. |
| string |
| Defines output target name for the target type header and property. Put here the name of exchange header and name of exchange property. |
| string |
|
|
| 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. |
| Boolean |
| If set, sets |
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&incrementalDate=simple:${exchangeProperty.incrementalDate}"/>
<to uri="mock:end"/>
</route>
IntegrationManager version 5.8.0