pfx-api:truncate
Â
Properties
Option | Type | Default | Description |
---|---|---|---|
| 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 | Â | Defines |
| string | Â | Defines the target name. |
| string |  | Optional parameter which can be used instead of the The FROM clause has to be omitted – it has no meaning in the filter API. |
| date | Â | Â |
| string |  | Defines a connection to Pricefx. This is an optional parameter and if it is omitted, the connection is taken from the Spring bean named pricefx. |
| string | Â | Defines the sorting. It overrides |
| Boolean | false | Defines if during fetch null fields should be returned via REST API back to a client. |
| string | Â | Defines the name of a filter used by the fetch or delete commands. |
| string | Â | Â |
| string | Â | Defines a custom filter expression. It allows for more advanced filtering, for example |
This method takes the exchange body.
Examples
<route>
<from uri="direct:start"/>
<setBody>
<constant>data</constant>
</setBody>
<to uri="pfx-api:truncate?targetName=DMDS.Prices&connection=pricefx"/>
<to uri="mock:end"/>
</route>
IntegrationManager version 5.8.0