Uses of Interface
org.apache.camel.component.file.GenericFileOperations
Packages that use GenericFileOperations
Package
Description
The File Component for working with file systems.
Strategies for the File Component.
-
Uses of GenericFileOperations in org.apache.camel.component.file
Classes in org.apache.camel.component.file that implement GenericFileOperationsFields in org.apache.camel.component.file declared as GenericFileOperationsModifier and TypeFieldDescriptionprotected GenericFileOperations<T>
GenericFileConsumer.operations
protected GenericFileOperations<T>
GenericFileProducer.operations
Methods in org.apache.camel.component.file with parameters of type GenericFileOperationsModifier and TypeMethodDescriptionvoid
GenericFileProcessStrategy.abort
(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint, org.apache.camel.Exchange exchange, GenericFile<T> file) Called when a begin is aborted, for example to release any resources which may have been acquired during theGenericFileProcessStrategy.begin(GenericFileOperations, GenericFileEndpoint, org.apache.camel.Exchange, GenericFile)
operation.boolean
GenericFileExclusiveReadLockStrategy.acquireExclusiveReadLock
(GenericFileOperations<T> operations, GenericFile<T> file, org.apache.camel.Exchange exchange) Acquires exclusive read lock to the file.boolean
GenericFileProcessStrategy.begin
(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint, org.apache.camel.Exchange exchange, GenericFile<T> file) Called when work is about to begin on this file.void
GenericFileProcessStrategy.commit
(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint, org.apache.camel.Exchange exchange, GenericFile<T> file) Releases any file locks and possibly deletes or moves the file after successful processingboolean
GenericFileDefaultMoveExistingFileStrategy.moveExistingFile
(GenericFileEndpoint endpoint, GenericFileOperations operations, String fileName) Moves any existing file due fileExists=Move is in use.protected FileConsumer
FileEndpoint.newFileConsumer
(org.apache.camel.Processor processor, GenericFileOperations<File> operations) Strategy to create a newFileConsumer
void
GenericFileExclusiveReadLockStrategy.prepareOnStartup
(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint) Allows custom logic to be run on startup preparing the strategy, such as removing old lock files etc.void
GenericFileProcessStrategy.prepareOnStartup
(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint) Allows custom logic to be run on first poll preparing the strategy, such as removing old lock files etc.void
GenericFileExclusiveReadLockStrategy.releaseExclusiveReadLockOnAbort
(GenericFileOperations<T> operations, GenericFile<T> file, org.apache.camel.Exchange exchange) Releases the exclusive read lock granted by the acquireExclusiveReadLock method due an abort operation (acquireExclusiveReadLock returned false).void
GenericFileExclusiveReadLockStrategy.releaseExclusiveReadLockOnCommit
(GenericFileOperations<T> operations, GenericFile<T> file, org.apache.camel.Exchange exchange) Releases the exclusive read lock granted by the acquireExclusiveReadLock method due a commit operation (Exchange processing succeeded)void
GenericFileExclusiveReadLockStrategy.releaseExclusiveReadLockOnRollback
(GenericFileOperations<T> operations, GenericFile<T> file, org.apache.camel.Exchange exchange) Releases the exclusive read lock granted by the acquireExclusiveReadLock method due a rollback operation (Exchange processing failed)void
GenericFileProcessStrategy.rollback
(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint, org.apache.camel.Exchange exchange, GenericFile<T> file) Releases any file locks and possibly deletes or moves the file after unsuccessful processingvoid
GenericFileConsumer.setOperations
(GenericFileOperations<T> operations) Sets the operations to be used.void
GenericFileProducer.setOperations
(GenericFileOperations<T> operations) Sets the operations to be used.Constructors in org.apache.camel.component.file with parameters of type GenericFileOperationsModifierConstructorDescriptionFileConsumer
(FileEndpoint endpoint, org.apache.camel.Processor processor, GenericFileOperations<File> operations, GenericFileProcessStrategy<File> processStrategy) GenericFileConsumer
(GenericFileEndpoint<T> endpoint, org.apache.camel.Processor processor, GenericFileOperations<T> operations, GenericFileProcessStrategy<T> processStrategy) GenericFileOnCompletion
(GenericFileEndpoint<T> endpoint, GenericFileOperations<T> operations, GenericFileProcessStrategy processStrategy, GenericFile<T> file, String absoluteFileName) protected
GenericFileProducer
(GenericFileEndpoint<T> endpoint, GenericFileOperations<T> operations) -
Uses of GenericFileOperations in org.apache.camel.component.file.strategy
Methods in org.apache.camel.component.file.strategy with parameters of type GenericFileOperationsModifier and TypeMethodDescriptionvoid
GenericFileProcessStrategySupport.abort
(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint, org.apache.camel.Exchange exchange, GenericFile<T> file) boolean
FileChangedExclusiveReadLockStrategy.acquireExclusiveReadLock
(GenericFileOperations<File> operations, GenericFile<File> file, org.apache.camel.Exchange exchange) boolean
FileIdempotentChangedRepositoryReadLockStrategy.acquireExclusiveReadLock
(GenericFileOperations<File> operations, GenericFile<File> file, org.apache.camel.Exchange exchange) boolean
FileIdempotentRenameRepositoryReadLockStrategy.acquireExclusiveReadLock
(GenericFileOperations<File> operations, GenericFile<File> file, org.apache.camel.Exchange exchange) boolean
FileIdempotentRepositoryReadLockStrategy.acquireExclusiveReadLock
(GenericFileOperations<File> operations, GenericFile<File> file, org.apache.camel.Exchange exchange) boolean
FileLockExclusiveReadLockStrategy.acquireExclusiveReadLock
(GenericFileOperations<File> operations, GenericFile<File> file, org.apache.camel.Exchange exchange) boolean
FileRenameExclusiveReadLockStrategy.acquireExclusiveReadLock
(GenericFileOperations<File> operations, GenericFile<File> file, org.apache.camel.Exchange exchange) boolean
GenericFileRenameExclusiveReadLockStrategy.acquireExclusiveReadLock
(GenericFileOperations<T> operations, GenericFile<T> file, org.apache.camel.Exchange exchange) boolean
MarkerFileExclusiveReadLockStrategy.acquireExclusiveReadLock
(GenericFileOperations<File> operations, GenericFile<File> file, org.apache.camel.Exchange exchange) boolean
GenericFileDeleteProcessStrategy.begin
(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint, org.apache.camel.Exchange exchange, GenericFile<T> file) boolean
GenericFileProcessStrategySupport.begin
(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint, org.apache.camel.Exchange exchange, GenericFile<T> file) boolean
GenericFileRenameProcessStrategy.begin
(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint, org.apache.camel.Exchange exchange, GenericFile<T> file) void
GenericFileDeleteProcessStrategy.commit
(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint, org.apache.camel.Exchange exchange, GenericFile<T> file) void
GenericFileProcessStrategySupport.commit
(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint, org.apache.camel.Exchange exchange, GenericFile<T> file) void
GenericFileRenameProcessStrategy.commit
(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint, org.apache.camel.Exchange exchange, GenericFile<T> file) boolean
FileMoveExistingStrategy.moveExistingFile
(GenericFileEndpoint endpoint, GenericFileOperations operations, String fileName) Moves any existing file due fileExists=Move is in use.void
FileIdempotentChangedRepositoryReadLockStrategy.prepareOnStartup
(GenericFileOperations<File> operations, GenericFileEndpoint<File> endpoint) void
FileIdempotentRenameRepositoryReadLockStrategy.prepareOnStartup
(GenericFileOperations<File> operations, GenericFileEndpoint<File> endpoint) void
FileIdempotentRepositoryReadLockStrategy.prepareOnStartup
(GenericFileOperations<File> operations, GenericFileEndpoint<File> endpoint) void
FileLockExclusiveReadLockStrategy.prepareOnStartup
(GenericFileOperations<File> operations, GenericFileEndpoint<File> endpoint) void
GenericFileProcessStrategySupport.prepareOnStartup
(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint) void
GenericFileRenameExclusiveReadLockStrategy.prepareOnStartup
(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint) void
MarkerFileExclusiveReadLockStrategy.prepareOnStartup
(GenericFileOperations<File> operations, GenericFileEndpoint<File> endpoint) void
FileIdempotentChangedRepositoryReadLockStrategy.releaseExclusiveReadLockOnAbort
(GenericFileOperations<File> operations, GenericFile<File> file, org.apache.camel.Exchange exchange) void
FileIdempotentRenameRepositoryReadLockStrategy.releaseExclusiveReadLockOnAbort
(GenericFileOperations<File> operations, GenericFile<File> file, org.apache.camel.Exchange exchange) void
FileIdempotentRepositoryReadLockStrategy.releaseExclusiveReadLockOnAbort
(GenericFileOperations<File> operations, GenericFile<File> file, org.apache.camel.Exchange exchange) void
FileRenameExclusiveReadLockStrategy.releaseExclusiveReadLockOnAbort
(GenericFileOperations<File> operations, GenericFile<File> file, org.apache.camel.Exchange exchange) void
GenericFileRenameExclusiveReadLockStrategy.releaseExclusiveReadLockOnAbort
(GenericFileOperations<T> operations, GenericFile<T> file, org.apache.camel.Exchange exchange) void
MarkerFileExclusiveReadLockStrategy.releaseExclusiveReadLockOnAbort
(GenericFileOperations<File> operations, GenericFile<File> file, org.apache.camel.Exchange exchange) void
FileIdempotentChangedRepositoryReadLockStrategy.releaseExclusiveReadLockOnCommit
(GenericFileOperations<File> operations, GenericFile<File> file, org.apache.camel.Exchange exchange) void
FileIdempotentRenameRepositoryReadLockStrategy.releaseExclusiveReadLockOnCommit
(GenericFileOperations<File> operations, GenericFile<File> file, org.apache.camel.Exchange exchange) void
FileIdempotentRepositoryReadLockStrategy.releaseExclusiveReadLockOnCommit
(GenericFileOperations<File> operations, GenericFile<File> file, org.apache.camel.Exchange exchange) void
FileRenameExclusiveReadLockStrategy.releaseExclusiveReadLockOnCommit
(GenericFileOperations<File> operations, GenericFile<File> file, org.apache.camel.Exchange exchange) void
GenericFileRenameExclusiveReadLockStrategy.releaseExclusiveReadLockOnCommit
(GenericFileOperations<T> operations, GenericFile<T> file, org.apache.camel.Exchange exchange) void
MarkerFileExclusiveReadLockStrategy.releaseExclusiveReadLockOnCommit
(GenericFileOperations<File> operations, GenericFile<File> file, org.apache.camel.Exchange exchange) void
FileIdempotentChangedRepositoryReadLockStrategy.releaseExclusiveReadLockOnRollback
(GenericFileOperations<File> operations, GenericFile<File> file, org.apache.camel.Exchange exchange) void
FileIdempotentRenameRepositoryReadLockStrategy.releaseExclusiveReadLockOnRollback
(GenericFileOperations<File> operations, GenericFile<File> file, org.apache.camel.Exchange exchange) void
FileIdempotentRepositoryReadLockStrategy.releaseExclusiveReadLockOnRollback
(GenericFileOperations<File> operations, GenericFile<File> file, org.apache.camel.Exchange exchange) void
FileRenameExclusiveReadLockStrategy.releaseExclusiveReadLockOnRollback
(GenericFileOperations<File> operations, GenericFile<File> file, org.apache.camel.Exchange exchange) void
GenericFileRenameExclusiveReadLockStrategy.releaseExclusiveReadLockOnRollback
(GenericFileOperations<T> operations, GenericFile<T> file, org.apache.camel.Exchange exchange) void
MarkerFileExclusiveReadLockStrategy.releaseExclusiveReadLockOnRollback
(GenericFileOperations<File> operations, GenericFile<File> file, org.apache.camel.Exchange exchange) GenericFileExpressionRenamer.renameFile
(GenericFileOperations<T> operations, org.apache.camel.Exchange exchange, GenericFile<T> file) protected GenericFile<T>
GenericFileProcessStrategySupport.renameFile
(GenericFileOperations<T> operations, GenericFile<T> from, GenericFile<T> to) GenericFileRenamer.renameFile
(GenericFileOperations<T> operations, org.apache.camel.Exchange exchange, GenericFile<T> file) Renames the given filevoid
GenericFileDeleteProcessStrategy.rollback
(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint, org.apache.camel.Exchange exchange, GenericFile<T> file) void
GenericFileProcessStrategySupport.rollback
(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint, org.apache.camel.Exchange exchange, GenericFile<T> file) void
GenericFileRenameProcessStrategy.rollback
(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint, org.apache.camel.Exchange exchange, GenericFile<T> file)