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

4x4 Matrix in Python -

python - PyInstaller UAC not working in onefile mode -

wso2is - WSO2 IS 5.0.0 SP1 After restart there is authentication error -