public static interface FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder
extends org.apache.camel.builder.EndpointConsumerBuilder
| Modifier and Type | Method and Description |
|---|---|
default FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder |
autoCreate(boolean autoCreate)
Automatically create missing directories in the file's pathname.
|
default FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder |
autoCreate(String autoCreate)
Automatically create missing directories in the file's pathname.
|
default FileEndpointBuilderFactory.FileEndpointConsumerBuilder |
basic() |
default FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder |
bufferSize(int bufferSize)
Buffer size in bytes used for writing files (or in case of FTP for
downloading and uploading files).
|
default FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder |
bufferSize(String bufferSize)
Buffer size in bytes used for writing files (or in case of FTP for
downloading and uploading files).
|
default FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder |
copyAndDeleteOnRenameFail(boolean copyAndDeleteOnRenameFail)
Whether to fallback and do a copy and delete file, in case the file
could not be renamed directly.
|
default FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder |
copyAndDeleteOnRenameFail(String copyAndDeleteOnRenameFail)
Whether to fallback and do a copy and delete file, in case the file
could not be renamed directly.
|
default FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder |
directoryMustExist(boolean directoryMustExist)
Similar to the startingDirectoryMustExist option but this applies
during polling (after starting the consumer).
|
default FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder |
directoryMustExist(String directoryMustExist)
Similar to the startingDirectoryMustExist option but this applies
during polling (after starting the consumer).
|
default FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder |
exceptionHandler(org.apache.camel.spi.ExceptionHandler exceptionHandler)
To let the consumer use a custom ExceptionHandler.
|
default FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder |
exceptionHandler(String exceptionHandler)
To let the consumer use a custom ExceptionHandler.
|
default FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder |
exchangePattern(org.apache.camel.ExchangePattern exchangePattern)
Sets the exchange pattern when the consumer creates an exchange.
|
default FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder |
exchangePattern(String exchangePattern)
Sets the exchange pattern when the consumer creates an exchange.
|
default FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder |
extendedAttributes(String extendedAttributes)
To define which file attributes of interest.
|
default FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder |
inProgressRepository(org.apache.camel.spi.IdempotentRepository inProgressRepository)
A pluggable in-progress repository
org.apache.camel.spi.IdempotentRepository.
|
default FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder |
inProgressRepository(String inProgressRepository)
A pluggable in-progress repository
org.apache.camel.spi.IdempotentRepository.
|
default FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder |
localWorkDirectory(String localWorkDirectory)
When consuming, a local work directory can be used to store the
remote file content directly in local files, to avoid loading the
content into memory.
|
default FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder |
onCompletionExceptionHandler(org.apache.camel.spi.ExceptionHandler onCompletionExceptionHandler)
To use a custom org.apache.camel.spi.ExceptionHandler to handle any
thrown exceptions that happens during the file on completion process
where the consumer does either a commit or rollback.
|
default FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder |
onCompletionExceptionHandler(String onCompletionExceptionHandler)
To use a custom org.apache.camel.spi.ExceptionHandler to handle any
thrown exceptions that happens during the file on completion process
where the consumer does either a commit or rollback.
|
default FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder |
pollStrategy(org.apache.camel.spi.PollingConsumerPollStrategy pollStrategy)
A pluggable org.apache.camel.PollingConsumerPollingStrategy allowing
you to provide your custom implementation to control error handling
usually occurred during the poll operation before an Exchange have
been created and being routed in Camel.
|
default FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder |
pollStrategy(String pollStrategy)
A pluggable org.apache.camel.PollingConsumerPollingStrategy allowing
you to provide your custom implementation to control error handling
usually occurred during the poll operation before an Exchange have
been created and being routed in Camel.
|
default FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder |
probeContentType(boolean probeContentType)
Whether to enable probing of the content type.
|
default FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder |
probeContentType(String probeContentType)
Whether to enable probing of the content type.
|
default FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder |
processStrategy(Object processStrategy)
A pluggable
org.apache.camel.component.file.GenericFileProcessStrategy allowing
you to implement your own readLock option or similar.
|
default FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder |
processStrategy(String processStrategy)
A pluggable
org.apache.camel.component.file.GenericFileProcessStrategy allowing
you to implement your own readLock option or similar.
|
default FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder |
renameUsingCopy(boolean renameUsingCopy)
Perform rename operations using a copy and delete strategy.
|
default FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder |
renameUsingCopy(String renameUsingCopy)
Perform rename operations using a copy and delete strategy.
|
default FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder |
startingDirectoryMustExist(boolean startingDirectoryMustExist)
Whether the starting directory must exist.
|
default FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder |
startingDirectoryMustExist(String startingDirectoryMustExist)
Whether the starting directory must exist.
|
default FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder |
startingDirectoryMustHaveAccess(boolean startingDirectoryMustHaveAccess)
Whether the starting directory has access permissions.
|
default FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder |
startingDirectoryMustHaveAccess(String startingDirectoryMustHaveAccess)
Whether the starting directory has access permissions.
|
default FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder |
synchronous(boolean synchronous)
Sets whether synchronous processing should be strictly used.
|
default FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder |
synchronous(String synchronous)
Sets whether synchronous processing should be strictly used.
|
default FileEndpointBuilderFactory.FileEndpointConsumerBuilder basic()
default FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder directoryMustExist(boolean directoryMustExist)
directoryMustExist - the value to setdefault FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder directoryMustExist(String directoryMustExist)
directoryMustExist - the value to setdefault FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder exceptionHandler(org.apache.camel.spi.ExceptionHandler exceptionHandler)
exceptionHandler - the value to setdefault FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder exceptionHandler(String exceptionHandler)
exceptionHandler - the value to setdefault FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder exchangePattern(org.apache.camel.ExchangePattern exchangePattern)
exchangePattern - the value to setdefault FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder exchangePattern(String exchangePattern)
exchangePattern - the value to setdefault FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder extendedAttributes(String extendedAttributes)
extendedAttributes - the value to setdefault FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder inProgressRepository(org.apache.camel.spi.IdempotentRepository inProgressRepository)
inProgressRepository - the value to setdefault FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder inProgressRepository(String inProgressRepository)
inProgressRepository - the value to setdefault FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder localWorkDirectory(String localWorkDirectory)
localWorkDirectory - the value to setdefault FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder onCompletionExceptionHandler(org.apache.camel.spi.ExceptionHandler onCompletionExceptionHandler)
onCompletionExceptionHandler - the value to setdefault FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder onCompletionExceptionHandler(String onCompletionExceptionHandler)
onCompletionExceptionHandler - the value to setdefault FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder pollStrategy(org.apache.camel.spi.PollingConsumerPollStrategy pollStrategy)
pollStrategy - the value to setdefault FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder pollStrategy(String pollStrategy)
pollStrategy - the value to setdefault FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder probeContentType(boolean probeContentType)
probeContentType - the value to setdefault FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder probeContentType(String probeContentType)
probeContentType - the value to setdefault FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder processStrategy(Object processStrategy)
processStrategy - the value to setdefault FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder processStrategy(String processStrategy)
processStrategy - the value to setdefault FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder startingDirectoryMustExist(boolean startingDirectoryMustExist)
startingDirectoryMustExist - the value to setdefault FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder startingDirectoryMustExist(String startingDirectoryMustExist)
startingDirectoryMustExist - the value to setdefault FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder startingDirectoryMustHaveAccess(boolean startingDirectoryMustHaveAccess)
startingDirectoryMustHaveAccess - the value to setdefault FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder startingDirectoryMustHaveAccess(String startingDirectoryMustHaveAccess)
startingDirectoryMustHaveAccess - the value to setdefault FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder autoCreate(boolean autoCreate)
autoCreate - the value to setdefault FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder autoCreate(String autoCreate)
autoCreate - the value to setdefault FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder bufferSize(int bufferSize)
bufferSize - the value to setdefault FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder bufferSize(String bufferSize)
bufferSize - the value to setdefault FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder copyAndDeleteOnRenameFail(boolean copyAndDeleteOnRenameFail)
copyAndDeleteOnRenameFail - the value to setdefault FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder copyAndDeleteOnRenameFail(String copyAndDeleteOnRenameFail)
copyAndDeleteOnRenameFail - the value to setdefault FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder renameUsingCopy(boolean renameUsingCopy)
renameUsingCopy - the value to setdefault FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder renameUsingCopy(String renameUsingCopy)
renameUsingCopy - the value to setdefault FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder synchronous(boolean synchronous)
synchronous - the value to setdefault FileEndpointBuilderFactory.AdvancedFileEndpointConsumerBuilder synchronous(String synchronous)
synchronous - the value to setApache Camel