Is There a Way to Prevent the Directory Scanner from Processing a File in OAG until the Process that is Writing the File Has Finished with It?
(Doc ID 2067829.1)
Last updated on FEBRUARY 03, 2019
Applies to:Oracle API Gateway - Version 11.1.2 and later
Information in this document applies to any platform.
There is an external application that uploads files to the OAG file system. The intention is to use a Directory Scanner to pull these files into OAG for processing and onward transfer.
Is there anything in the Directory Scanner that will prevent the file from being picked up by OAG before it is fully written by the external application? Will OAG continue to read the file until it receives the EOF marker?
Is there something that would suggest that the file would be ignored until it had stabilized in some way before OAG started processing it, for example file size not changing. The documentation states that the files are moved to a working directory for processing. What happens if OAG moves the file before the application that is writing the file has finished writing it?
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document