Uses of Interface
org.apache.camel.component.file.GenericFileOperations
-
Packages that use GenericFileOperations Package Description org.apache.camel.component.file The File Component for working with file systems.org.apache.camel.component.file.strategy Strategies for the File Component. -
-
Uses of GenericFileOperations in org.apache.camel.component.file
Classes in org.apache.camel.component.file that implement GenericFileOperations Modifier and Type Class Description classFileOperationsFile operations forFile.Fields in org.apache.camel.component.file declared as GenericFileOperations Modifier and Type Field Description protected GenericFileOperations<T>GenericFileConsumer. operationsprotected GenericFileOperations<T>GenericFileProducer. operationsMethods in org.apache.camel.component.file with parameters of type GenericFileOperations Modifier and Type Method Description voidGenericFileProcessStrategy. 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.booleanGenericFileExclusiveReadLockStrategy. acquireExclusiveReadLock(GenericFileOperations<T> operations, GenericFile<T> file, org.apache.camel.Exchange exchange)Acquires exclusive read lock to the file.booleanGenericFileProcessStrategy. 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.voidGenericFileProcessStrategy. 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 processingbooleanGenericFileDefaultMoveExistingFileStrategy. moveExistingFile(GenericFileEndpoint endpoint, GenericFileOperations operations, String fileName)Moves any existing file due fileExists=Move is in use.protected FileConsumerFileEndpoint. newFileConsumer(org.apache.camel.Processor processor, GenericFileOperations<File> operations)Strategy to create a newFileConsumervoidGenericFileExclusiveReadLockStrategy. 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.voidGenericFileProcessStrategy. 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.voidGenericFileExclusiveReadLockStrategy. 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).voidGenericFileExclusiveReadLockStrategy. 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)voidGenericFileExclusiveReadLockStrategy. 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)voidGenericFileProcessStrategy. 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 processingvoidGenericFileConsumer. setOperations(GenericFileOperations<T> operations)Sets the operations to be used.voidGenericFileProducer. setOperations(GenericFileOperations<T> operations)Sets the operations to be used.Constructors in org.apache.camel.component.file with parameters of type GenericFileOperations Constructor Description FileConsumer(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)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 GenericFileOperations Modifier and Type Method Description voidGenericFileProcessStrategySupport. abort(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint, org.apache.camel.Exchange exchange, GenericFile<T> file)booleanFileChangedExclusiveReadLockStrategy. acquireExclusiveReadLock(GenericFileOperations<File> operations, GenericFile<File> file, org.apache.camel.Exchange exchange)booleanFileIdempotentChangedRepositoryReadLockStrategy. acquireExclusiveReadLock(GenericFileOperations<File> operations, GenericFile<File> file, org.apache.camel.Exchange exchange)booleanFileIdempotentRenameRepositoryReadLockStrategy. acquireExclusiveReadLock(GenericFileOperations<File> operations, GenericFile<File> file, org.apache.camel.Exchange exchange)booleanFileIdempotentRepositoryReadLockStrategy. acquireExclusiveReadLock(GenericFileOperations<File> operations, GenericFile<File> file, org.apache.camel.Exchange exchange)booleanFileLockExclusiveReadLockStrategy. acquireExclusiveReadLock(GenericFileOperations<File> operations, GenericFile<File> file, org.apache.camel.Exchange exchange)booleanFileRenameExclusiveReadLockStrategy. acquireExclusiveReadLock(GenericFileOperations<File> operations, GenericFile<File> file, org.apache.camel.Exchange exchange)booleanGenericFileRenameExclusiveReadLockStrategy. acquireExclusiveReadLock(GenericFileOperations<T> operations, GenericFile<T> file, org.apache.camel.Exchange exchange)booleanMarkerFileExclusiveReadLockStrategy. acquireExclusiveReadLock(GenericFileOperations<File> operations, GenericFile<File> file, org.apache.camel.Exchange exchange)booleanGenericFileDeleteProcessStrategy. begin(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint, org.apache.camel.Exchange exchange, GenericFile<T> file)booleanGenericFileProcessStrategySupport. begin(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint, org.apache.camel.Exchange exchange, GenericFile<T> file)booleanGenericFileRenameProcessStrategy. begin(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint, org.apache.camel.Exchange exchange, GenericFile<T> file)voidGenericFileDeleteProcessStrategy. commit(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint, org.apache.camel.Exchange exchange, GenericFile<T> file)voidGenericFileProcessStrategySupport. commit(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint, org.apache.camel.Exchange exchange, GenericFile<T> file)voidGenericFileRenameProcessStrategy. commit(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint, org.apache.camel.Exchange exchange, GenericFile<T> file)booleanFileMoveExistingStrategy. moveExistingFile(GenericFileEndpoint endpoint, GenericFileOperations operations, String fileName)Moves any existing file due fileExists=Move is in use.voidFileIdempotentChangedRepositoryReadLockStrategy. prepareOnStartup(GenericFileOperations<File> operations, GenericFileEndpoint<File> endpoint)voidFileIdempotentRenameRepositoryReadLockStrategy. prepareOnStartup(GenericFileOperations<File> operations, GenericFileEndpoint<File> endpoint)voidFileIdempotentRepositoryReadLockStrategy. prepareOnStartup(GenericFileOperations<File> operations, GenericFileEndpoint<File> endpoint)voidFileLockExclusiveReadLockStrategy. prepareOnStartup(GenericFileOperations<File> operations, GenericFileEndpoint<File> endpoint)voidGenericFileProcessStrategySupport. prepareOnStartup(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint)voidGenericFileRenameExclusiveReadLockStrategy. prepareOnStartup(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint)voidMarkerFileExclusiveReadLockStrategy. prepareOnStartup(GenericFileOperations<File> operations, GenericFileEndpoint<File> endpoint)voidFileIdempotentChangedRepositoryReadLockStrategy. releaseExclusiveReadLockOnAbort(GenericFileOperations<File> operations, GenericFile<File> file, org.apache.camel.Exchange exchange)voidFileIdempotentRenameRepositoryReadLockStrategy. releaseExclusiveReadLockOnAbort(GenericFileOperations<File> operations, GenericFile<File> file, org.apache.camel.Exchange exchange)voidFileIdempotentRepositoryReadLockStrategy. releaseExclusiveReadLockOnAbort(GenericFileOperations<File> operations, GenericFile<File> file, org.apache.camel.Exchange exchange)voidFileRenameExclusiveReadLockStrategy. releaseExclusiveReadLockOnAbort(GenericFileOperations<File> operations, GenericFile<File> file, org.apache.camel.Exchange exchange)voidGenericFileRenameExclusiveReadLockStrategy. releaseExclusiveReadLockOnAbort(GenericFileOperations<T> operations, GenericFile<T> file, org.apache.camel.Exchange exchange)voidMarkerFileExclusiveReadLockStrategy. releaseExclusiveReadLockOnAbort(GenericFileOperations<File> operations, GenericFile<File> file, org.apache.camel.Exchange exchange)voidFileIdempotentChangedRepositoryReadLockStrategy. releaseExclusiveReadLockOnCommit(GenericFileOperations<File> operations, GenericFile<File> file, org.apache.camel.Exchange exchange)voidFileIdempotentRenameRepositoryReadLockStrategy. releaseExclusiveReadLockOnCommit(GenericFileOperations<File> operations, GenericFile<File> file, org.apache.camel.Exchange exchange)voidFileIdempotentRepositoryReadLockStrategy. releaseExclusiveReadLockOnCommit(GenericFileOperations<File> operations, GenericFile<File> file, org.apache.camel.Exchange exchange)voidFileRenameExclusiveReadLockStrategy. releaseExclusiveReadLockOnCommit(GenericFileOperations<File> operations, GenericFile<File> file, org.apache.camel.Exchange exchange)voidGenericFileRenameExclusiveReadLockStrategy. releaseExclusiveReadLockOnCommit(GenericFileOperations<T> operations, GenericFile<T> file, org.apache.camel.Exchange exchange)voidMarkerFileExclusiveReadLockStrategy. releaseExclusiveReadLockOnCommit(GenericFileOperations<File> operations, GenericFile<File> file, org.apache.camel.Exchange exchange)voidFileIdempotentChangedRepositoryReadLockStrategy. releaseExclusiveReadLockOnRollback(GenericFileOperations<File> operations, GenericFile<File> file, org.apache.camel.Exchange exchange)voidFileIdempotentRenameRepositoryReadLockStrategy. releaseExclusiveReadLockOnRollback(GenericFileOperations<File> operations, GenericFile<File> file, org.apache.camel.Exchange exchange)voidFileIdempotentRepositoryReadLockStrategy. releaseExclusiveReadLockOnRollback(GenericFileOperations<File> operations, GenericFile<File> file, org.apache.camel.Exchange exchange)voidFileRenameExclusiveReadLockStrategy. releaseExclusiveReadLockOnRollback(GenericFileOperations<File> operations, GenericFile<File> file, org.apache.camel.Exchange exchange)voidGenericFileRenameExclusiveReadLockStrategy. releaseExclusiveReadLockOnRollback(GenericFileOperations<T> operations, GenericFile<T> file, org.apache.camel.Exchange exchange)voidMarkerFileExclusiveReadLockStrategy. releaseExclusiveReadLockOnRollback(GenericFileOperations<File> operations, GenericFile<File> file, org.apache.camel.Exchange exchange)GenericFile<T>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)GenericFile<T>GenericFileRenamer. renameFile(GenericFileOperations<T> operations, org.apache.camel.Exchange exchange, GenericFile<T> file)Renames the given filevoidGenericFileDeleteProcessStrategy. rollback(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint, org.apache.camel.Exchange exchange, GenericFile<T> file)voidGenericFileProcessStrategySupport. rollback(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint, org.apache.camel.Exchange exchange, GenericFile<T> file)voidGenericFileRenameProcessStrategy. rollback(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint, org.apache.camel.Exchange exchange, GenericFile<T> file)
-