Uses of Class
org.apache.camel.component.file.GenericFileEndpoint
Packages that use GenericFileEndpoint
Package
Description
The File Component for working with file systems.
Strategies for the File Component.
-
Uses of GenericFileEndpoint in org.apache.camel.component.file
Subclasses of GenericFileEndpoint in org.apache.camel.component.fileFields in org.apache.camel.component.file declared as GenericFileEndpointModifier and TypeFieldDescriptionprotected GenericFileEndpoint<T>
GenericFileConsumer.endpoint
protected final GenericFileEndpoint<T>
GenericFileProducer.endpoint
Methods in org.apache.camel.component.file that return GenericFileEndpointModifier and TypeMethodDescriptionprotected GenericFileEndpoint<File>
protected abstract GenericFileEndpoint<T>
A factory method for derived file components to create the endpointprotected GenericFileEndpoint<T>
Methods in org.apache.camel.component.file with parameters of type GenericFileEndpointModifier 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.protected void
FileComponent.afterPropertiesSet
(GenericFileEndpoint<File> endpoint) protected abstract void
GenericFileComponent.afterPropertiesSet
(GenericFileEndpoint<T> endpoint) A factory method for derived file components to perform validation of propertiesboolean
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.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
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
FileOperations.setEndpoint
(GenericFileEndpoint<File> endpoint) void
GenericFileOperations.setEndpoint
(GenericFileEndpoint<T> endpoint) Sets the endpoint as some implementations need access to the endpoint and how its configured.Constructors in org.apache.camel.component.file with parameters of type GenericFileEndpointModifierConstructorDescriptionGenericFileConsumer
(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 GenericFileEndpoint in org.apache.camel.component.file.strategy
Methods in org.apache.camel.component.file.strategy with parameters of type GenericFileEndpointModifier and TypeMethodDescriptionvoid
GenericFileProcessStrategySupport.abort
(GenericFileOperations<T> operations, GenericFileEndpoint<T> endpoint, org.apache.camel.Exchange exchange, GenericFile<T> file) 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
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)