Package org.apache.camel.component.file.strategy
package org.apache.camel.component.file.strategy
Strategies for the File Component.
-
ClassDescriptionAcquires 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).A file read lock that uses an
IdempotentRepository
andchanged
as the lock strategy.A file read lock that uses anIdempotentRepository
andrename
as the lock strategy.A file read lock that uses anIdempotentRepository
as the lock strategy.Acquires exclusive read lock to the given file.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.Acquires exclusive read lock to the given file.Base class for implementations ofGenericFileProcessStrategy
.Acquires exclusive read lock to the given file.Used for renaming files.Acquires read lock to the given file using a marker file so other Camel consumers wont acquire the same file.