On Mon, Aug 3, 2009 at 7:51 PM, ariablu<962...@gmail.com> wrote: > > using Apache Camel (2.0M3) and Spring, > > <route> > <from > uri="file:C:\test\trigger?initialDelay=1000&delay=500&useFixedDelay=false&recursive=false&delete=false&noop=false&move=.done&idempotent=false&readLock=none&readLockTimeout=0&autoCreate=true&flatten=false"/> > <pollEnrich > uri="file:C:\test\data?initialDelay=1000&delay=500&useFixedDelay=false&recursive=false&delete=false&noop=false&move=.done&idempotent=false&readLock=none&readLockTimeout=0&autoCreate=true&flatten=false" > timeout="5000" /> > <to > uri="log:testlog?level=INFO&showExchangeId=true&showProperties=true&showBodyType=true&showBody=true&showOut=true&multiline=true"/> > </route> > > FileConsumer("from" tag) move files from C:\test\data to C:\test\data\.done > , and not move files from c:\test\trigger to c:\test\trigger\.done . > > Is this correct? >
You are clashing the file consumer with a poll enrich that also uses a file consumer. What do you want to archive, what is your use case? > -- > View this message in context: > http://www.nabble.com/Problem-with-FileConsumer-and-pollEnrich-tp24795192p24795192.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus