Actually, I would like to achieve following things
1. Read multiple files from each folder
2. Modify all contents for each file
3. Move those original files into another folder (one file for each folder)
4. Move those modified files into another folder.
All I want to do is using spring DSL. I'm using following line to read a
single file and work on it.
<from
uri="file:{{file.input}}?include=.*\.csv$&exclusiveReadLockStrategy=#fileStrategy&moveFailed={{file.error}}/${date:now:yyyyMMdd}/${file:onlyname}_${exchangeId}&move={{file.done}}/${date:now:yyyyMMdd}/${file:onlyname}_${exchangeId}&autoCreate=true"
/>
--
View this message in context:
http://camel.465427.n5.nabble.com/Read-Multiple-files-or-using-concurrent-consumers-in-one-route-tp5744545p5744547.html
Sent from the Camel - Users mailing list archive at Nabble.com.