How to use trigger file functionality in File Adapters - Match file names
856224Apr 19 2011 — edited May 19 2011Hi,
I am using trigger file functionality in File adapters to pick up data files as:-
<property name="TriggerFilePhysicalDirectory" value="/pub/Dev/eastern/brs/"/>
<property name="TriggerFile" value="*.trg"/>
Here any file with .trg extension is taken as a trigger file and File adapter randomly picks up one of the data files.
My requirement is that the trigger file will be of the same name as that of the data file like:- <data_file>.data <data_file>.trg
How to implement this feature using trigger file functionality of File adapters??