public static interface FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder
extends org.apache.camel.builder.EndpointConsumerBuilder
| Modifier and Type | Method and Description |
|---|---|
default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
activePortRange(String activePortRange)
Set the client side port range in active mode.
|
default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
autoCreate(boolean autoCreate)
Automatically create missing directories in the file's pathname.
|
default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
autoCreate(String autoCreate)
Automatically create missing directories in the file's pathname.
|
default FtpsEndpointBuilderFactory.FtpsEndpointConsumerBuilder |
basic() |
default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
bufferSize(int bufferSize)
Buffer size in bytes used for writing files (or in case of FTP for
downloading and uploading files).
|
default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
bufferSize(String bufferSize)
Buffer size in bytes used for writing files (or in case of FTP for
downloading and uploading files).
|
default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
connectTimeout(int connectTimeout)
Sets the connect timeout for waiting for a connection to be
established Used by both FTPClient and JSCH.
|
default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
connectTimeout(String connectTimeout)
Sets the connect timeout for waiting for a connection to be
established Used by both FTPClient and JSCH.
|
default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
download(boolean download)
Whether the FTP consumer should download the file.
|
default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
download(String download)
Whether the FTP consumer should download the file.
|
default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
exceptionHandler(org.apache.camel.spi.ExceptionHandler exceptionHandler)
To let the consumer use a custom ExceptionHandler.
|
default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
exceptionHandler(String exceptionHandler)
To let the consumer use a custom ExceptionHandler.
|
default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
exchangePattern(org.apache.camel.ExchangePattern exchangePattern)
Sets the exchange pattern when the consumer creates an exchange.
|
default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
exchangePattern(String exchangePattern)
Sets the exchange pattern when the consumer creates an exchange.
|
default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
fastExistsCheck(boolean fastExistsCheck)
If set this option to be true, camel-ftp will use the list file
directly to check if the file exists.
|
default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
fastExistsCheck(String fastExistsCheck)
If set this option to be true, camel-ftp will use the list file
directly to check if the file exists.
|
default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
ftpClient(Object ftpClient)
To use a custom instance of FTPClient.
|
default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
ftpClient(String ftpClient)
To use a custom instance of FTPClient.
|
default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
ftpClientConfig(Object ftpClientConfig)
To use a custom instance of FTPClientConfig to configure the FTP
client the endpoint should use.
|
default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
ftpClientConfig(String ftpClientConfig)
To use a custom instance of FTPClientConfig to configure the FTP
client the endpoint should use.
|
default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
ftpClientConfigParameters(Map values)
Used by FtpComponent to provide additional parameters for the
FTPClientConfig.
|
default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
ftpClientConfigParameters(String key,
Object value)
Used by FtpComponent to provide additional parameters for the
FTPClientConfig.
|
default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
ftpClientParameters(Map values)
Used by FtpComponent to provide additional parameters for the
FTPClient.
|
default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
ftpClientParameters(String key,
Object value)
Used by FtpComponent to provide additional parameters for the
FTPClient.
|
default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
handleDirectoryParserAbsoluteResult(boolean handleDirectoryParserAbsoluteResult)
Allows you to set how the consumer will handle subfolders and files
in the path if the directory parser results in with absolute paths
The reason for this is that some FTP servers may return file names
with absolute paths, and if so then the FTP component needs to handle
this by converting the returned path into a relative path.
|
default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
handleDirectoryParserAbsoluteResult(String handleDirectoryParserAbsoluteResult)
Allows you to set how the consumer will handle subfolders and files
in the path if the directory parser results in with absolute paths
The reason for this is that some FTP servers may return file names
with absolute paths, and if so then the FTP component needs to handle
this by converting the returned path into a relative path.
|
default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
ignoreFileNotFoundOrPermissionError(boolean ignoreFileNotFoundOrPermissionError)
Whether to ignore when (trying to list files in directories or when
downloading a file), which does not exist or due to permission error.
|
default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
ignoreFileNotFoundOrPermissionError(String ignoreFileNotFoundOrPermissionError)
Whether to ignore when (trying to list files in directories or when
downloading a file), which does not exist or due to permission error.
|
default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
inProgressRepository(org.apache.camel.spi.IdempotentRepository inProgressRepository)
A pluggable in-progress repository
org.apache.camel.spi.IdempotentRepository.
|
default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
inProgressRepository(String inProgressRepository)
A pluggable in-progress repository
org.apache.camel.spi.IdempotentRepository.
|
default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
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 FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
maximumReconnectAttempts(int maximumReconnectAttempts)
Specifies the maximum reconnect attempts Camel performs when it tries
to connect to the remote FTP server.
|
default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
maximumReconnectAttempts(String maximumReconnectAttempts)
Specifies the maximum reconnect attempts Camel performs when it tries
to connect to the remote FTP server.
|
default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
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 FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
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 FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
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 FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
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 FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
processStrategy(Object processStrategy)
A pluggable
org.apache.camel.component.file.GenericFileProcessStrategy allowing
you to implement your own readLock option or similar.
|
default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
processStrategy(String processStrategy)
A pluggable
org.apache.camel.component.file.GenericFileProcessStrategy allowing
you to implement your own readLock option or similar.
|
default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
reconnectDelay(long reconnectDelay)
Delay in millis Camel will wait before performing a reconnect
attempt.
|
default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
reconnectDelay(String reconnectDelay)
Delay in millis Camel will wait before performing a reconnect
attempt.
|
default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
siteCommand(String siteCommand)
Sets optional site command(s) to be executed after successful login.
|
default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
soTimeout(int soTimeout)
Sets the so timeout FTP and FTPS Only for Camel 2.4.
|
default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
soTimeout(String soTimeout)
Sets the so timeout FTP and FTPS Only for Camel 2.4.
|
default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
stepwise(boolean stepwise)
Sets whether we should stepwise change directories while traversing
file structures when downloading files, or as well when uploading a
file to a directory.
|
default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
stepwise(String stepwise)
Sets whether we should stepwise change directories while traversing
file structures when downloading files, or as well when uploading a
file to a directory.
|
default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
synchronous(boolean synchronous)
Sets whether synchronous processing should be strictly used.
|
default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
synchronous(String synchronous)
Sets whether synchronous processing should be strictly used.
|
default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
throwExceptionOnConnectFailed(boolean throwExceptionOnConnectFailed)
Should an exception be thrown if connection failed (exhausted) By
default exception is not thrown and a WARN is logged.
|
default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
throwExceptionOnConnectFailed(String throwExceptionOnConnectFailed)
Should an exception be thrown if connection failed (exhausted) By
default exception is not thrown and a WARN is logged.
|
default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
timeout(int timeout)
Sets the data timeout for waiting for reply Used only by FTPClient.
|
default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
timeout(String timeout)
Sets the data timeout for waiting for reply Used only by FTPClient.
|
default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
useList(boolean useList)
Whether to allow using LIST command when downloading a file.
|
default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder |
useList(String useList)
Whether to allow using LIST command when downloading a file.
|
default FtpsEndpointBuilderFactory.FtpsEndpointConsumerBuilder basic()
default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder fastExistsCheck(boolean fastExistsCheck)
fastExistsCheck - the value to setdefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder fastExistsCheck(String fastExistsCheck)
fastExistsCheck - the value to setdefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder download(boolean download)
download - the value to setdefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder download(String download)
download - the value to setdefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder exceptionHandler(org.apache.camel.spi.ExceptionHandler exceptionHandler)
exceptionHandler - the value to setdefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder exceptionHandler(String exceptionHandler)
exceptionHandler - the value to setdefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder exchangePattern(org.apache.camel.ExchangePattern exchangePattern)
exchangePattern - the value to setdefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder exchangePattern(String exchangePattern)
exchangePattern - the value to setdefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder handleDirectoryParserAbsoluteResult(boolean handleDirectoryParserAbsoluteResult)
handleDirectoryParserAbsoluteResult - the value to setdefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder handleDirectoryParserAbsoluteResult(String handleDirectoryParserAbsoluteResult)
handleDirectoryParserAbsoluteResult - the value to setdefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder ignoreFileNotFoundOrPermissionError(boolean ignoreFileNotFoundOrPermissionError)
ignoreFileNotFoundOrPermissionError - the value to setdefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder ignoreFileNotFoundOrPermissionError(String ignoreFileNotFoundOrPermissionError)
ignoreFileNotFoundOrPermissionError - the value to setdefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder inProgressRepository(org.apache.camel.spi.IdempotentRepository inProgressRepository)
inProgressRepository - the value to setdefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder inProgressRepository(String inProgressRepository)
inProgressRepository - the value to setdefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder localWorkDirectory(String localWorkDirectory)
localWorkDirectory - the value to setdefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder onCompletionExceptionHandler(org.apache.camel.spi.ExceptionHandler onCompletionExceptionHandler)
onCompletionExceptionHandler - the value to setdefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder onCompletionExceptionHandler(String onCompletionExceptionHandler)
onCompletionExceptionHandler - the value to setdefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder pollStrategy(org.apache.camel.spi.PollingConsumerPollStrategy pollStrategy)
pollStrategy - the value to setdefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder pollStrategy(String pollStrategy)
pollStrategy - the value to setdefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder processStrategy(Object processStrategy)
processStrategy - the value to setdefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder processStrategy(String processStrategy)
processStrategy - the value to setdefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder useList(boolean useList)
useList - the value to setdefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder useList(String useList)
useList - the value to setdefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder activePortRange(String activePortRange)
activePortRange - the value to setdefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder autoCreate(boolean autoCreate)
autoCreate - the value to setdefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder autoCreate(String autoCreate)
autoCreate - the value to setdefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder bufferSize(int bufferSize)
bufferSize - the value to setdefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder bufferSize(String bufferSize)
bufferSize - the value to setdefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder connectTimeout(int connectTimeout)
connectTimeout - the value to setdefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder connectTimeout(String connectTimeout)
connectTimeout - the value to setdefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder ftpClient(Object ftpClient)
ftpClient - the value to setdefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder ftpClient(String ftpClient)
ftpClient - the value to setdefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder ftpClientConfig(Object ftpClientConfig)
ftpClientConfig - the value to setdefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder ftpClientConfig(String ftpClientConfig)
ftpClientConfig - the value to setdefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder ftpClientConfigParameters(String key, Object value)
key - the option keyvalue - the option valuedefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder ftpClientConfigParameters(Map values)
values - the valuesdefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder ftpClientParameters(String key, Object value)
key - the option keyvalue - the option valuedefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder ftpClientParameters(Map values)
values - the valuesdefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder maximumReconnectAttempts(int maximumReconnectAttempts)
maximumReconnectAttempts - the value to setdefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder maximumReconnectAttempts(String maximumReconnectAttempts)
maximumReconnectAttempts - the value to setdefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder reconnectDelay(long reconnectDelay)
reconnectDelay - the value to setdefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder reconnectDelay(String reconnectDelay)
reconnectDelay - the value to setdefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder siteCommand(String siteCommand)
siteCommand - the value to setdefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder soTimeout(int soTimeout)
soTimeout - the value to setdefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder soTimeout(String soTimeout)
soTimeout - the value to setdefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder stepwise(boolean stepwise)
stepwise - the value to setdefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder stepwise(String stepwise)
stepwise - the value to setdefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder synchronous(boolean synchronous)
synchronous - the value to setdefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder synchronous(String synchronous)
synchronous - the value to setdefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder throwExceptionOnConnectFailed(boolean throwExceptionOnConnectFailed)
throwExceptionOnConnectFailed - the value to setdefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder throwExceptionOnConnectFailed(String throwExceptionOnConnectFailed)
throwExceptionOnConnectFailed - the value to setdefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder timeout(int timeout)
timeout - the value to setdefault FtpsEndpointBuilderFactory.AdvancedFtpsEndpointConsumerBuilder timeout(String timeout)
timeout - the value to setApache Camel