The component is used to store data in Pricefx and use them as required. Think of it as basic persistent storage.
Properties
|
Option |
Type |
Default |
Description |
|---|---|---|---|
|
|
string |
|
Name of the parameter to set. Mandatory. |
|
|
string |
|
Value of the parameter to set. |
|
|
string |
pricefx |
Connection name to use. If empty, the default connection is used. |
|
|
string |
|
If filled, result of the retrieval will be returned into the given header instead of the exchange body. |
|
|
string |
|
If filled, this value will be returned if the response from retrieval is null. |
Requirements
-
A defined connection (or default 'pricefx') must exist within the application connection pools.
-
The component itself is the producer, thus must be used in to routes.
Examples
<route id="r2"/>
<from uri="timer:testSFDC?repeatCount=1"/>
<log message="There is nothing to load from last run (${header.LastUpdateDate})"/>
<log message="Setting property INTEGRATION_SFDC_Customer_LastUpdateDate for configurator to: ${header.nowDate}"/>
<toD uri="pfx-config:set?name=INTEGRATION_SFDC_Customer_LastUpdateDate&value=${header.nowDate}"/>
<log message="Set property INTEGRATION_SFDC_Customer_LastUpdateDate for configurator to: ${header.nowDate}"/>
<log message="Stopping route with loading Customers"/>
</route>