My scenario is as follows :
I have a receive port which contains two receive location:first one used a scheduler adapter and 2nd one is used a file adapter.
When scheduler starts then the file processed.
But when we have more then one file in file receive location then only the first one file is processd. Why it is happening ?
To resolve this issue,I thought that I will count the number of files from receive location and then make a loop and processed
those file as seen in the following screenshot:
but how will I get that how many files are there in receive location ?