Hi What version of Camel do you use? And do you have a cluster of Camel running, that compete for the "same" files?
On Wed, Nov 28, 2012 at 4:37 PM, Kesireddy, Chandana (ITD) <[email protected]> wrote: > Hi, > > I wanted to remove old .camellock files on start up . > I am getting : > > WARN | > org.apache.camel.component.file.strategy.FileChangedExclusiveReadLockStrategy > | Cannot acquire read lock within 60000 millis. Will skip the file: > messages in the log, as there are old .camellock files on start up. > > I wanted to catch that exception and move the old .camellock files to another > folder. So I used custom exception handler but handleException() > Method never gets invoked. > > Do I need to use custom polling strategy for this. Can you please provide me > an example. > > Thanks, > Chandana > -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: [email protected] Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen
