camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Hoffer <>
Subject GenericFileExclusiveReadLockStrategy#prepareOnStartup() question
Date Thu, 19 Nov 2015 23:49:44 GMT
What is the lifecycle of
the GenericFileExclusiveReadLockStrategy#prepareOnStartup() method.  I'm
assuming that it will never be called more than once at startup...but is
that correct?

We store state in our custom GenericFileExclusiveReadLockStrategy class and
the state is cleared when prepareOnStartup() is called.

Is there any edge cases that could cause this method to be called more than
at startup of the app?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message