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

Reply via email to