Trigger File Option in SOA 12c File Adapter Polling Configuration

Posted by

SOA Provides the below given File Polling options:

  1. Polling Frequency : This option defines after how much time the file polling is to be done.
  2. Minimum File Age:  This option is useful when we have large files for processing and we know that it will take time for file to be processed and thus next available new file should be read after that. So increasing the value here ensures that no file is missed from getting processed.
  3. Check box for Trigger File :  This option when checked then the above 2 Options Polling Frequency and Minimum File Age will not be used as file will not be Polled automatically, they requires a trigger or in simple words it need to be invoked.

File Adapter Trigger File Option

We need to provide the server location from where the file will be processed .

We need to provide the Trigger File Name for which file adapter should check having extension as .trg. If this file is available , then file adapter will poll the students.txt file and get it processed.

Such file trigger mechanism is useful when data is critical for processing and needs confirmation before it is processed . With the file data , we need to place the trigger file which , when read by the file adapter gives the confirmation / triggering to proceed with the file processing.