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?
Last updated on OCTOBER 25, 2016
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?
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms