Hi, I haven't tried but using splitter with streaming=true would help that kind of usecase. http://camel.apache.org/splitter.html
Thanks, Tomo On 02/27/2017 10:10 PM, ganga_camel wrote:
Hi All, I am working on a use-case where the need is to create files based on size. To elaborate further, the file component should switch to create a new file every-time, the file that is being created exceeds a particular size of say 2GB. So, if I am in the process of writing into a file, and the file size reaches 2GB, then a new file should be created with file size 2GB and so on until all the records are processed. From the camel documentation I could not find any clue to implement this logic, is it possible to implement this requirement using Camel or should we combine this will vanilla Java code? Please advise. Thanks, Ganga -- View this message in context: http://camel.465427.n5.nabble.com/Camel-File-Produce-files-based-on-size-tp5794522.html Sent from the Camel - Users mailing list archive at Nabble.com.
