CheckDuplicateFile
By default, whenever FileWatcher picks up a file, it checks whether the file has already been processed by comparing it against the last 100 files processed. You can disable this check using the CheckDuplicateFile parameter.
<CheckDuplicateFile>No</CheckDuplicateFile>
If this parameter is used, File Watcher processes the file irrespective of whether the file existed previously or not.
The default value of CheckDuplicateFile is Yes and it checks for duplicate entries in the history file and rejects it if it exists.
FileWatcher.xml with CheckDuplicateFile
The following sample section is from FileWatcher.xml. In this example, the CheckDuplicateFile parameter has been added to the FileWatcher configuration file.
<DataSet type="single"> <Name>PRIM</Name> <Credential domain="GLN"> <Identity>0065064183212</Identity> </Credential> <Action>Load</Action> <CheckDuplicateFile>No</CheckDuplicateFile> <URIInfo scheme="local"> <Relative>MQ_COMMON_DIR</Relative> <URI>EAI/PrimData</URI> </URIInfo> <DataSource> <RevisionID> <BaseName>UCCV3</BaseName> </RevisionID> </DataSource> </DataSet>
Copyright © Cloud Software Group, Inc. All rights reserved.