spring - SpringXD - It is possible to scan different dirs via File source? -


i've these dirs

|- dad dir      |--- son dir 1              |---- file1.txt              |---- file2.txt      |--- son dir 2              |---- file3.txt  

it possibile single stream, using file source, extrapolate contents of file*.txt example, giving in input dad dir

not standard source, can customize source use watchservicedirectoryscanner (java 7 or later) or recursiveleafonlydirectoryscanner not recommended large directory trees.

see spring integration reference manual information configuring file inbound channel adapter. use scanner attribute on adapter.


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

python - Error: Unresolved reference 'selenium' What is the reason? -

asp.net ajax - Jquery scroll to element just goes to top of page -