Gather multiple files according to file name
I have a question about the file sender adapter.
Is it possible to gather multiple files from a directory according to file name. For example, I have 3 files:
Can I configure the interface in a way it bundle all the files starting with the same 5 first characters? (So it bundles the first two files)
I hope the question is clear enough. If not, let me know.
Udo Martens replied
this is not possible in PI standard,
- create an adapter module. The adapter has to read files with same starting file name into one message.
- create a Business Process and make use of ASMA header field "FileName" in mapping time.
- create a operation system command before processing. The script will bundle the files with same first file name characters. Assumedly the most easy solution.