With the eiConsole’s Directory Adapter You Can Periodically Poll a Directory for a File or Set of Files That Will Be Picked Up and Used to Initiate a Transaction
The Directory Adapter (Listener) allows the eiConsole and eiPlatform to periodically poll a Directory for a file or set of files that will be picked up and used to initiate a transaction. The Directory Adapter component of the eiConsole provides a graphical interface with easy to configure screens. The Directory Adapter offers 4 tabs for configuring the behavior: Basic, Advanced, Postprocess and Scheduling.
The Directory Adapter Basic tab includes the required Polling interval for how often to scan the Directory. The Polling directory allows you to specify which directory you would like to poll. Click on the three dots to the right of the line in order to show the window below.
Features such as the File name restriction allow you to specify a set of characters required in the file name. The File extension restriction allows you to specify the file extensions that you will process. Tokenizers allow you to specify a character after which to split the file into multiple transactions. By default, the eiConsole will treat the entire file as the data stream to be handled as 1 message. However, if each line of the file represents a different record you would enter a value, such as the new line delimiter, in this space.
The Directory Adapter Advanced tab allows you to specify whether or not you should only run the Listener when it is triggered externally, how many elements should be serialized and whether or not to also scan sub-folders.
The Directory Adapter Postprocess tab allows you to specify the behavior of the system after a file has been picked up. You can Delete or Move the file. If you choose to Move a file the Target directory becomes required. This allows you to specify the directory to use for the processed files.
The Directory Adapter Scheduling tab allows you to specify the start times and end times for scheduled execution (You choose the three dots to the right of the line in order to see this window).