Hi,

i need a little bit input:

I want to process multiple files from a directory at the same time. I don't know may be the aggregator pattern is right.

So the use-case:
In the inbound directory: FN.pdf, FN.txt, FN.ok. After the "FN.ok" file is detected, the inbound adapter should trigger and forward FN.pdf and FN.txt.

How is the best practise solution? Create a customScanner?

Can sombody help or hava an example?

Thanks a lot!