June 21, 2017, 01:36 PMKathleen Butler
Featured iWay Use Case: Checking for Locked Files
Dear Focal Pointers,
Check out our featured iWay Use Case of the week!Checking for Locked FilesView PDF
| Download ZIP file
The iWay File listener will attempt to continuously read a file that is locked by another user or an independent process. In this case, a trace is sent downstream to the process flow (pflow) of the channel. Depending on your business logic, erroneous or undesired messages may trigger an unwanted file write or email notification.
The Prepare_Files.zip channel archive that is provided with this use case contains a technique that verifies if a file is unlocked. If a file is unlocked, then the extension of this file is renamed. A standard business channel can then be used to search only for the renamed file extension, which assures that only unlocked files are read and processed.
Additional iWay Use Cases and self-service tutorial videos are available on the iWay Information Center
If you haven’t already done so, please take our iWay Survey
to let us know if you have any feedback or would like to share a Use Case with us. We appreciate your feedback!
Senior Customer Care and Communications Manager