Package org.apache.camel.component.file.strategy
Strategies for the File Component.
-
Interface Summary Interface Description FileMoveExistingStrategy This is the interface to be implemented when a custom implementation needs to be provided in case of fileExists=Move is in use while moving any existing file in producer endpoints.GenericFileRenamer<T> Used for renaming files. -
Class Summary Class Description FileChangedExclusiveReadLockStrategy Acquires exclusive read lock to the given file by checking whether the file is being changed by scanning the file at different intervals (to detect changes).FileIdempotentChangedRepositoryReadLockStrategy A file read lock that uses anIdempotentRepository
andchanged
as the lock strategy.FileIdempotentRenameRepositoryReadLockStrategy A file read lock that uses anIdempotentRepository
andrename
as the lock strategy.FileIdempotentRepositoryReadLockStrategy A file read lock that uses anIdempotentRepository
as the lock strategy.FileLockExclusiveReadLockStrategy Acquires exclusive read lock to the given file.FileProcessStrategyFactory FileRenameExclusiveReadLockStrategy Acquires exclusive read lock to the given file.GenericFileDeleteProcessStrategy<T> GenericFileExpressionRenamer<T> GenericFileNoOpProcessStrategy<T> GenericFileProcessStrategySupport<T> Base class for implementations ofGenericFileProcessStrategy
.GenericFileRenameExclusiveReadLockStrategy<T> Acquires exclusive read lock to the given file.GenericFileRenameProcessStrategy<T> MarkerFileExclusiveReadLockStrategy Acquires read lock to the given file using a marker file so other Camel consumers wont acquire the same file.