Hi Have you read the docs at http://camel.apache.org/file2
There is some examples with dynamic done file names. On Wed, Mar 12, 2014 at 4:59 PM, Jey350 <[email protected]> wrote: > Hello, > > I'm using Camel 2.10 and I have the following problem: > > I need to make a XML route which use doneFileName with "dynamic filename". > To be more precise, in a folder I have: > ACKXXX-filename1 (doneFile) > filename1 (file to process) > ACKYYY-filename2 (doneFile) > filename2 (file to process) > > Since "XXX" and "YYY" are not the same (but same string length) I can't use > simply the doneFileName. > I can't create multiple routes because I don't know what XXX and YYY will be > and I can't change the doneFile format. > Is there a workaround to solve my problem ? Like wildcard (ex: > doneFileName=ACK???-${file:name}) or other solution ? > > Thanks. > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/doneFileName-with-dynamic-filename-tp5748706.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: [email protected] Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen Make your Camel applications look hawt, try: http://hawt.io
