How do you write to the file? I don’t think current camel support the File rotation automatically. Please feel free to create a JIRA[1] for it.
[1]https://issues.apache.org/jira/browse/CAMEL -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On May 12, 2014 at 10:20:07 PM, mossro ([email protected]) wrote: > Hi, > > I'm looking into using camel to support writing to file, the problem is that > these files will need to be rotated (new file after every x MB written). > > I cannot obviously see anything on the File for dealing with this, and the > best i could think of is some how using with a choice to change the > to directory by using increment to change a suffix to a filename, but not > sure how i would even go about doing that. > > Any help would be much appreciated. > > Thanks, > Robin > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/File-rotation-tp5751026.html > Sent from the Camel - Users mailing list archive at Nabble.com. >
