On Wed, Nov 28, 2012 at 6:42 PM, Kesireddy, Chandana (ITD) <[email protected]> wrote: > Hi, > > I am using camel 2.4, I only have one instance of camel running. >
Okay if you upgrade to a newer Camel release then it will auto delete orphaned .camelLock files when it startup. In your current release you would need to manually delete the .camelLock files yourself. > Thanks, > Chandana > > -----Original Message----- > From: Claus Ibsen [mailto:[email protected]] > Sent: Wednesday, November 28, 2012 12:34 PM > To: [email protected] > 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) > <[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 -- 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
