Hi, I am using camel 2.4, I only have one instance of camel running.
Thanks, Chandana -----Original Message----- From: Claus Ibsen [mailto:claus.ib...@gmail.com] Sent: Wednesday, November 28, 2012 12:34 PM To: users@camel.apache.org Subject: Re: want to remove old .camellock files on start up 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) <chandana.kesire...@state.ma.us> 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: cib...@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen