IATA BSP file loader allows you to watch a specific file system folder for IATA BSP files, split them into the segments and store those segments into a work queue where they can be processed. Loader keeps information on processed files in separate index files, so it can be run on a folder without the need to delete its content.
PREREQUISITES
- IIS application pool user has modification rights set in the watched directory.
WORK QUEUE CLASS
This loader uses TextFile.
CONFIGURE FILE LOADER
To fill Your Work Queue from files, on tab Creation You have to fill the External Source field with IATA BSP File and fill Connection String as described later. All other fields of External Source group are not applicable and should remain empty.
CONFIGURE CONNECTION STRING
The connection string can consist of the following parts:
path | Path to a directory, where the loader sniffs for files |
searchPattern | Wildcard expression that defines which files loader will load to work queue |
segmentMarker | 3-letter code of the first row of the segment. |
footerMarker | 3-letter code of the first row of the footer section of the file. |
lastRowMarker | 3-letter code of the last row of the file used for integrity check. Implemented in master 4752. |
indexFile | Full path to index file, in which loader stores information on processed files. If it doesn’t exist, the loader will be created during the first run. |
addLastRowToQueue | true /false . If true the last row of the file will be populated as an extra entry in the queue. |