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

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

java - How to handle special characters while unmarshalling xml in JAXB -

ios - Pass NSDictionary from Javascript to Objective-c in JavascriptCore -