I have a doubt regarding the file adapter polling interval.
Suppose we get a file of size 512 MB and PI file adapter taking long time (say 15 Min) to process it, we have a polling interval of 10 min.
I have a 2 doubt in this case.
1. what will happen in the next polling interval. because the older file still is in process and it is still in the source folder location.
2. if at the same time there is new file get places in same folder location. then how the file adapter behave in this case. Is it start picking the second file or again poll the incomplete file.
I want to know that is PI maintaining some lock while processing some file from source folder.
I guess normally it should process both files, earlier one which is in process and the new one as well (it depends your selection string in file name scheme).
Also refer thsi Wiki to help in avoiding duplicate file processing:
If you are using central adapter engine for this purpose then in the next polling interval,your message get stuck in message queue of adapter engine.
In such scenario we use local integration engine which is part of decentralize adapter which is out of integration server and it will be able to process such large files in seperate queue.
PI works using messege queues.
The above facility is available in only PI 7.1 and upper version.
u can refer adapter architecture for your querry.