Ah, cool - thanks. That's much less code than a custom component, endpoint and producer.
I discounted the 'move' option, because the default behaviour seemed to be to move the existing files to make room for the duplicate, instead of picking a different name for the duplicate. Peter On 17 May 2013, at 09:33, Claus Ibsen <claus.ib...@gmail.com> wrote: > You can use the move option on the Camel file consumer, and then use a > bean to calculate the file name. http://camel.apache.org/file2 > > move=bean:myFileCalculatorBean > > <bean id="myFileCalculatorBean" class=...