pfx-io:repeatable
This method converts the input into a source which can be read repeatedly. For example, reading a "RemoteFile" on an SFTP is a costly operation which you do not want to invoke multiple times. When using repeatable
, it is guaranteed that the source will be stored locally and can be read multiple times.
Properties
No properties.
Examples
<route>
    <from uri="sftp://..."/>
    <to uri="pfx-io:repeatable"/>
    <to uri="pfx-validator"/>
    <to uri="pfx-loaddata?objectType=C"/>
  </route>
Using repeatable here ensures that you can read the source multiple times from local cache instead of fetching it from the remote server.
IntegrationManager version 5.8.0