/
pfx-io:clean
pfx-io:clean
This method is used with the https://pricefx.atlassian.net/wiki/spaces/IMDEV/pages/4644209003 method to clean up resources. The repeatable
method might create some local files, so this method clean
assures that there are no local files left.
Properties
No properties.
Examples
<route>
<from uri="sftp://..."/>
<to uri="pfx-io:repeatable"/>
<to uri="pfx-validator"/>
<to uri="pfx-loaddata?objectType=C"/>
<onCompletion>
<to uri="pfx-io:clean"/>
</onCompletion>
</route>
The source is RemoteFile – for example of the size 4GB. Without the pfx-io component, the input would be first read by the validator and then again by the loaddata
component. This is not what we want. Using pfx-io:repeatable
the source is read and converted to a local file. pfx-validator then validates against the local file and also pfx-loaddata loads data from the local file. Once the operation is done, the local file is cleared.
IntegrationManager version 6.0.0