camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claire <claire.chanm...@newgens.com.sg>
Subject Re: Read Multiple files or using concurrent consumers in one route
Date Tue, 10 Dec 2013 08:15:06 GMT
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$&amp;exclusiveReadLockStrategy=#fileStrategy&amp;moveFailed={{file.error}}/${date:now:yyyyMMdd}/${file:onlyname}_${exchangeId}&amp;move={{file.done}}/${date:now:yyyyMMdd}/${file:onlyname}_${exchangeId}&amp;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.

Mime
View raw message