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 -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -