camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kesireddy, Chandana (ITD)" <>
Subject RE: want to remove old .camellock files on start up
Date Wed, 28 Nov 2012 17:42:40 GMT

I am using camel 2.4,  I only have one  instance of camel running. 


-----Original Message-----
From: Claus Ibsen [] 
Sent: Wednesday, November 28, 2012 12:34 PM
Subject: Re: want to remove old .camellock files on start up


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) <>
> 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
Twitter: davsclaus
Author of Camel in Action:

View raw message