Interface MinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder,org.apache.camel.EndpointConsumerResolver,org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver,MinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointConsumerBuilder,MinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointProducerBuilder
- Enclosing interface:
MinaSftpEndpointBuilderFactory
public static interface MinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointBuilder
extends MinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointConsumerBuilder, MinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointProducerBuilder
Advanced builder for endpoint for the MINA SFTP component.
-
Method Summary
Modifier and TypeMethodDescriptionautoCreate(boolean autoCreate) Automatically create missing directories in the file's pathname.autoCreate(String autoCreate) Automatically create missing directories in the file's pathname.basic()bindAddress(String bindAddress) Specifies the address of the local interface against which the connection should bind.browseLimit(int browseLimit) Maximum number of messages to keep in memory available for browsing.browseLimit(String browseLimit) Maximum number of messages to keep in memory available for browsing.bulkRequests(Integer bulkRequests) Specifies how many requests may be outstanding at any one time.bulkRequests(String bulkRequests) Specifies how many requests may be outstanding at any one time.compression(int compression) To use compression.compression(String compression) To use compression.connectTimeout(int connectTimeout) Sets the connect timeout for waiting for a connection to be established Used by both FTPClient and JSCH.connectTimeout(String connectTimeout) Sets the connect timeout for waiting for a connection to be established Used by both FTPClient and JSCH.existDirCheckUsingLs(Boolean existDirCheckUsingLs) Deprecated.existDirCheckUsingLs(String existDirCheckUsingLs) Deprecated.fastExistsCheck(boolean fastExistsCheck) If set this option to be true, camel-ftp will use the list file directly to check if the file exists.fastExistsCheck(String fastExistsCheck) If set this option to be true, camel-ftp will use the list file directly to check if the file exists.filenameEncoding(String filenameEncoding) Encoding to use for FTP client when parsing filenames.jschLoggingLevel(String jschLoggingLevel) Deprecated.maximumReconnectAttempts(int maximumReconnectAttempts) Specifies the maximum reconnect attempts Camel performs when it tries to connect to the remote FTP server.maximumReconnectAttempts(String maximumReconnectAttempts) Specifies the maximum reconnect attempts Camel performs when it tries to connect to the remote FTP server.readBufferSize(Integer readBufferSize) Sets the buffer size in bytes used for reading data from SFTP connections.readBufferSize(String readBufferSize) Sets the buffer size in bytes used for reading data from SFTP connections.reconnectDelay(long reconnectDelay) Delay in millis Camel will wait before performing a reconnect attempt.reconnectDelay(String reconnectDelay) Delay in millis Camel will wait before performing a reconnect attempt.serverAliveCountMax(int serverAliveCountMax) Sets the number of keep-alive messages which may be sent without receiving any messages back from the server.serverAliveCountMax(String serverAliveCountMax) Sets the number of keep-alive messages which may be sent without receiving any messages back from the server.serverAliveInterval(int serverAliveInterval) Sets the interval (millis) to send a keep-alive message.serverAliveInterval(String serverAliveInterval) Sets the interval (millis) to send a keep-alive message.serverMessageLoggingLevel(String serverMessageLoggingLevel) Deprecated.soTimeout(int soTimeout) Sets the so timeout FTP and FTPS Is the SocketOptions.SO_TIMEOUT value in millis.Sets the so timeout FTP and FTPS Is the SocketOptions.SO_TIMEOUT value in millis.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.Sets whether we should stepwise change directories while traversing file structures when downloading files, or as well when uploading a file to a directory.timeout(int timeout) Sets the data timeout for waiting for reply Used only by FTPClient.Sets the data timeout for waiting for reply Used only by FTPClient.writeBufferSize(Integer writeBufferSize) Sets the buffer size in bytes used for writing data to SFTP connections.writeBufferSize(String writeBufferSize) Sets the buffer size in bytes used for writing data to SFTP connections.Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUriMethods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolveMethods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUriMethods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolveMethods inherited from interface org.apache.camel.builder.endpoint.dsl.MinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointConsumerBuilder
bridgeErrorHandler, bridgeErrorHandler, download, download, exceptionHandler, exceptionHandler, exchangePattern, exchangePattern, ignoreFileNotFoundOrPermissionError, ignoreFileNotFoundOrPermissionError, inProgressRepository, inProgressRepository, localWorkDirectory, onCompletionExceptionHandler, onCompletionExceptionHandler, pollStrategy, pollStrategy, processStrategy, processStrategy, throwExceptionOnConnectFailed, throwExceptionOnConnectFailed, useList, useListMethods inherited from interface org.apache.camel.builder.endpoint.dsl.MinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointProducerBuilder
allowNullBody, allowNullBody, chmod, chmodDirectory, disconnectOnBatchComplete, disconnectOnBatchComplete, eagerDeleteTargetFile, eagerDeleteTargetFile, keepLastModified, keepLastModified, lazyStartProducer, lazyStartProducer, moveExistingFileStrategy, moveExistingFileStrategy, sendNoop, sendNoop
-
Method Details
-
basic
- Specified by:
basicin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointConsumerBuilder- Specified by:
basicin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointProducerBuilder
-
fastExistsCheck
default MinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointBuilder fastExistsCheck(boolean fastExistsCheck) If set this option to be true, camel-ftp will use the list file directly to check if the file exists. Since some FTP server may not support to list the file directly, if the option is false, camel-ftp will use the old way to list the directory and check if the file exists. This option also influences readLock=changed to control whether it performs a fast check to update file information or not. This can be used to speed up the process if the FTP server has a lot of files. The option is a:booleantype. Default: false Group: common (advanced)- Specified by:
fastExistsCheckin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointConsumerBuilder- Specified by:
fastExistsCheckin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointProducerBuilder- Parameters:
fastExistsCheck- the value to set- Returns:
- the dsl builder
-
fastExistsCheck
default MinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointBuilder fastExistsCheck(String fastExistsCheck) If set this option to be true, camel-ftp will use the list file directly to check if the file exists. Since some FTP server may not support to list the file directly, if the option is false, camel-ftp will use the old way to list the directory and check if the file exists. This option also influences readLock=changed to control whether it performs a fast check to update file information or not. This can be used to speed up the process if the FTP server has a lot of files. The option will be converted to abooleantype. Default: false Group: common (advanced)- Specified by:
fastExistsCheckin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointConsumerBuilder- Specified by:
fastExistsCheckin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointProducerBuilder- Parameters:
fastExistsCheck- the value to set- Returns:
- the dsl builder
-
autoCreate
default MinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointBuilder autoCreate(boolean autoCreate) Automatically create missing directories in the file's pathname. For the file consumer, that means creating the starting directory. For the file producer, it means the directory the files should be written to. The option is a:booleantype. Default: true Group: advanced- Specified by:
autoCreatein interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointConsumerBuilder- Specified by:
autoCreatein interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointProducerBuilder- Parameters:
autoCreate- the value to set- Returns:
- the dsl builder
-
autoCreate
default MinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointBuilder autoCreate(String autoCreate) Automatically create missing directories in the file's pathname. For the file consumer, that means creating the starting directory. For the file producer, it means the directory the files should be written to. The option will be converted to abooleantype. Default: true Group: advanced- Specified by:
autoCreatein interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointConsumerBuilder- Specified by:
autoCreatein interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointProducerBuilder- Parameters:
autoCreate- the value to set- Returns:
- the dsl builder
-
bindAddress
default MinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointBuilder bindAddress(String bindAddress) Specifies the address of the local interface against which the connection should bind. The option is a:java.lang.Stringtype. Group: advanced- Specified by:
bindAddressin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointConsumerBuilder- Specified by:
bindAddressin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointProducerBuilder- Parameters:
bindAddress- the value to set- Returns:
- the dsl builder
-
browseLimit
Maximum number of messages to keep in memory available for browsing. Use 0 for unlimited. The option is a:inttype. Default: 100 Group: advanced- Specified by:
browseLimitin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointConsumerBuilder- Specified by:
browseLimitin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointProducerBuilder- Parameters:
browseLimit- the value to set- Returns:
- the dsl builder
-
browseLimit
default MinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointBuilder browseLimit(String browseLimit) Maximum number of messages to keep in memory available for browsing. Use 0 for unlimited. The option will be converted to ainttype. Default: 100 Group: advanced- Specified by:
browseLimitin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointConsumerBuilder- Specified by:
browseLimitin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointProducerBuilder- Parameters:
browseLimit- the value to set- Returns:
- the dsl builder
-
bulkRequests
default MinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointBuilder bulkRequests(Integer bulkRequests) Specifies how many requests may be outstanding at any one time. Increasing this value may slightly improve file transfer speed but will increase memory usage. The option is a:java.lang.Integertype. Group: advanced- Specified by:
bulkRequestsin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointConsumerBuilder- Specified by:
bulkRequestsin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointProducerBuilder- Parameters:
bulkRequests- the value to set- Returns:
- the dsl builder
-
bulkRequests
default MinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointBuilder bulkRequests(String bulkRequests) Specifies how many requests may be outstanding at any one time. Increasing this value may slightly improve file transfer speed but will increase memory usage. The option will be converted to ajava.lang.Integertype. Group: advanced- Specified by:
bulkRequestsin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointConsumerBuilder- Specified by:
bulkRequestsin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointProducerBuilder- Parameters:
bulkRequests- the value to set- Returns:
- the dsl builder
-
compression
To use compression. Specify a level from 1 to 10. The option is a:inttype. Group: advanced- Specified by:
compressionin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointConsumerBuilder- Specified by:
compressionin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointProducerBuilder- Parameters:
compression- the value to set- Returns:
- the dsl builder
-
compression
default MinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointBuilder compression(String compression) To use compression. Specify a level from 1 to 10. The option will be converted to ainttype. Group: advanced- Specified by:
compressionin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointConsumerBuilder- Specified by:
compressionin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointProducerBuilder- Parameters:
compression- the value to set- Returns:
- the dsl builder
-
connectTimeout
default MinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointBuilder connectTimeout(int connectTimeout) Sets the connect timeout for waiting for a connection to be established Used by both FTPClient and JSCH. The option is a:inttype. Default: 10000 Group: advanced- Specified by:
connectTimeoutin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointConsumerBuilder- Specified by:
connectTimeoutin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointProducerBuilder- Parameters:
connectTimeout- the value to set- Returns:
- the dsl builder
-
connectTimeout
default MinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointBuilder connectTimeout(String connectTimeout) Sets the connect timeout for waiting for a connection to be established Used by both FTPClient and JSCH. The option will be converted to ainttype. Default: 10000 Group: advanced- Specified by:
connectTimeoutin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointConsumerBuilder- Specified by:
connectTimeoutin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointProducerBuilder- Parameters:
connectTimeout- the value to set- Returns:
- the dsl builder
-
existDirCheckUsingLs
@Deprecated default MinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointBuilder existDirCheckUsingLs(Boolean existDirCheckUsingLs) Deprecated.Deprecated: JSch-specific parameter, ignored by mina-sftp. MINA SSHD uses stat() for directory existence checks. The option is a:java.lang.Booleantype. Default: false Group: advanced- Specified by:
existDirCheckUsingLsin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointConsumerBuilder- Specified by:
existDirCheckUsingLsin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointProducerBuilder- Parameters:
existDirCheckUsingLs- the value to set- Returns:
- the dsl builder
-
existDirCheckUsingLs
@Deprecated default MinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointBuilder existDirCheckUsingLs(String existDirCheckUsingLs) Deprecated.Deprecated: JSch-specific parameter, ignored by mina-sftp. MINA SSHD uses stat() for directory existence checks. The option will be converted to ajava.lang.Booleantype. Default: false Group: advanced- Specified by:
existDirCheckUsingLsin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointConsumerBuilder- Specified by:
existDirCheckUsingLsin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointProducerBuilder- Parameters:
existDirCheckUsingLs- the value to set- Returns:
- the dsl builder
-
filenameEncoding
default MinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointBuilder filenameEncoding(String filenameEncoding) Encoding to use for FTP client when parsing filenames. By default, UTF-8 is used. The option is a:java.lang.Stringtype. Group: advanced- Specified by:
filenameEncodingin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointConsumerBuilder- Specified by:
filenameEncodingin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointProducerBuilder- Parameters:
filenameEncoding- the value to set- Returns:
- the dsl builder
-
jschLoggingLevel
@Deprecated default MinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointBuilder jschLoggingLevel(String jschLoggingLevel) Deprecated.Deprecated: JSch-specific parameter, ignored by mina-sftp. Configure logging via your logging framework instead. The option is a:java.lang.Stringtype. Group: advanced- Specified by:
jschLoggingLevelin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointConsumerBuilder- Specified by:
jschLoggingLevelin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointProducerBuilder- Parameters:
jschLoggingLevel- the value to set- Returns:
- the dsl builder
-
maximumReconnectAttempts
default MinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointBuilder maximumReconnectAttempts(int maximumReconnectAttempts) Specifies the maximum reconnect attempts Camel performs when it tries to connect to the remote FTP server. Use 0 to disable this behavior. The option is a:inttype. Group: advanced- Specified by:
maximumReconnectAttemptsin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointConsumerBuilder- Specified by:
maximumReconnectAttemptsin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointProducerBuilder- Parameters:
maximumReconnectAttempts- the value to set- Returns:
- the dsl builder
-
maximumReconnectAttempts
default MinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointBuilder maximumReconnectAttempts(String maximumReconnectAttempts) Specifies the maximum reconnect attempts Camel performs when it tries to connect to the remote FTP server. Use 0 to disable this behavior. The option will be converted to ainttype. Group: advanced- Specified by:
maximumReconnectAttemptsin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointConsumerBuilder- Specified by:
maximumReconnectAttemptsin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointProducerBuilder- Parameters:
maximumReconnectAttempts- the value to set- Returns:
- the dsl builder
-
readBufferSize
default MinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointBuilder readBufferSize(Integer readBufferSize) Sets the buffer size in bytes used for reading data from SFTP connections. If not specified, the MINA SSHD default buffer size is used. Larger values may improve transfer speed for large files but will increase memory usage. Maximum recommended value is 126976 bytes (124KB) to avoid data corruption issues. This parameter maps directly to Apache MINA SSHD's READ_BUFFER_SIZE property. The option is a:java.lang.Integertype. Group: advanced- Specified by:
readBufferSizein interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointConsumerBuilder- Specified by:
readBufferSizein interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointProducerBuilder- Parameters:
readBufferSize- the value to set- Returns:
- the dsl builder
-
readBufferSize
default MinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointBuilder readBufferSize(String readBufferSize) Sets the buffer size in bytes used for reading data from SFTP connections. If not specified, the MINA SSHD default buffer size is used. Larger values may improve transfer speed for large files but will increase memory usage. Maximum recommended value is 126976 bytes (124KB) to avoid data corruption issues. This parameter maps directly to Apache MINA SSHD's READ_BUFFER_SIZE property. The option will be converted to ajava.lang.Integertype. Group: advanced- Specified by:
readBufferSizein interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointConsumerBuilder- Specified by:
readBufferSizein interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointProducerBuilder- Parameters:
readBufferSize- the value to set- Returns:
- the dsl builder
-
reconnectDelay
default MinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointBuilder reconnectDelay(long reconnectDelay) Delay in millis Camel will wait before performing a reconnect attempt. The option is a:longtype. Default: 1000 Group: advanced- Specified by:
reconnectDelayin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointConsumerBuilder- Specified by:
reconnectDelayin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointProducerBuilder- Parameters:
reconnectDelay- the value to set- Returns:
- the dsl builder
-
reconnectDelay
default MinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointBuilder reconnectDelay(String reconnectDelay) Delay in millis Camel will wait before performing a reconnect attempt. The option will be converted to alongtype. Default: 1000 Group: advanced- Specified by:
reconnectDelayin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointConsumerBuilder- Specified by:
reconnectDelayin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointProducerBuilder- Parameters:
reconnectDelay- the value to set- Returns:
- the dsl builder
-
serverAliveCountMax
default MinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointBuilder serverAliveCountMax(int serverAliveCountMax) Sets the number of keep-alive messages which may be sent without receiving any messages back from the server. If this threshold is reached while keep-alive messages are being sent, the connection will be disconnected. The default value is one. The option is a:inttype. Default: 1 Group: advanced- Specified by:
serverAliveCountMaxin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointConsumerBuilder- Specified by:
serverAliveCountMaxin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointProducerBuilder- Parameters:
serverAliveCountMax- the value to set- Returns:
- the dsl builder
-
serverAliveCountMax
default MinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointBuilder serverAliveCountMax(String serverAliveCountMax) Sets the number of keep-alive messages which may be sent without receiving any messages back from the server. If this threshold is reached while keep-alive messages are being sent, the connection will be disconnected. The default value is one. The option will be converted to ainttype. Default: 1 Group: advanced- Specified by:
serverAliveCountMaxin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointConsumerBuilder- Specified by:
serverAliveCountMaxin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointProducerBuilder- Parameters:
serverAliveCountMax- the value to set- Returns:
- the dsl builder
-
serverAliveInterval
default MinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointBuilder serverAliveInterval(int serverAliveInterval) Sets the interval (millis) to send a keep-alive message. If zero is specified, any keep-alive message must not be sent. The default interval is zero. The option is a:inttype. Group: advanced- Specified by:
serverAliveIntervalin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointConsumerBuilder- Specified by:
serverAliveIntervalin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointProducerBuilder- Parameters:
serverAliveInterval- the value to set- Returns:
- the dsl builder
-
serverAliveInterval
default MinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointBuilder serverAliveInterval(String serverAliveInterval) Sets the interval (millis) to send a keep-alive message. If zero is specified, any keep-alive message must not be sent. The default interval is zero. The option will be converted to ainttype. Group: advanced- Specified by:
serverAliveIntervalin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointConsumerBuilder- Specified by:
serverAliveIntervalin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointProducerBuilder- Parameters:
serverAliveInterval- the value to set- Returns:
- the dsl builder
-
serverMessageLoggingLevel
@Deprecated default MinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointBuilder serverMessageLoggingLevel(String serverMessageLoggingLevel) Deprecated.Deprecated: JSch-specific parameter, ignored by mina-sftp. Configure logging via your logging framework instead. The option is a:java.lang.Stringtype. Group: advanced- Specified by:
serverMessageLoggingLevelin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointConsumerBuilder- Specified by:
serverMessageLoggingLevelin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointProducerBuilder- Parameters:
serverMessageLoggingLevel- the value to set- Returns:
- the dsl builder
-
soTimeout
Sets the so timeout FTP and FTPS Is the SocketOptions.SO_TIMEOUT value in millis. Recommended option is to set this to 300000 so as not have a hanged connection. On SFTP this option is set as timeout on the JSCH Session instance. The option is a:inttype. Default: 300000 Group: advanced- Specified by:
soTimeoutin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointConsumerBuilder- Specified by:
soTimeoutin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointProducerBuilder- Parameters:
soTimeout- the value to set- Returns:
- the dsl builder
-
soTimeout
Sets the so timeout FTP and FTPS Is the SocketOptions.SO_TIMEOUT value in millis. Recommended option is to set this to 300000 so as not have a hanged connection. On SFTP this option is set as timeout on the JSCH Session instance. The option will be converted to ainttype. Default: 300000 Group: advanced- Specified by:
soTimeoutin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointConsumerBuilder- Specified by:
soTimeoutin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointProducerBuilder- Parameters:
soTimeout- the value to set- Returns:
- the dsl builder
-
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. You can disable this if you for example are in a situation where you cannot change directory on the FTP server due security reasons. Stepwise cannot be used together with streamDownload. The option is a:booleantype. Default: true Group: advanced- Specified by:
stepwisein interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointConsumerBuilder- Specified by:
stepwisein interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointProducerBuilder- Parameters:
stepwise- the value to set- Returns:
- the dsl builder
-
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. You can disable this if you for example are in a situation where you cannot change directory on the FTP server due security reasons. Stepwise cannot be used together with streamDownload. The option will be converted to abooleantype. Default: true Group: advanced- Specified by:
stepwisein interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointConsumerBuilder- Specified by:
stepwisein interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointProducerBuilder- Parameters:
stepwise- the value to set- Returns:
- the dsl builder
-
timeout
Sets the data timeout for waiting for reply Used only by FTPClient. The option is a:inttype. Default: 30000 Group: advanced- Specified by:
timeoutin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointConsumerBuilder- Specified by:
timeoutin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointProducerBuilder- Parameters:
timeout- the value to set- Returns:
- the dsl builder
-
timeout
Sets the data timeout for waiting for reply Used only by FTPClient. The option will be converted to ainttype. Default: 30000 Group: advanced- Specified by:
timeoutin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointConsumerBuilder- Specified by:
timeoutin interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointProducerBuilder- Parameters:
timeout- the value to set- Returns:
- the dsl builder
-
writeBufferSize
default MinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointBuilder writeBufferSize(Integer writeBufferSize) Sets the buffer size in bytes used for writing data to SFTP connections. If not specified, the MINA SSHD default buffer size is used. Larger values may improve transfer speed for large files but will increase memory usage. Maximum recommended value is 126976 bytes (124KB) to avoid data corruption issues. This parameter maps directly to Apache MINA SSHD's WRITE_BUFFER_SIZE property. The option is a:java.lang.Integertype. Group: advanced- Specified by:
writeBufferSizein interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointConsumerBuilder- Specified by:
writeBufferSizein interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointProducerBuilder- Parameters:
writeBufferSize- the value to set- Returns:
- the dsl builder
-
writeBufferSize
default MinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointBuilder writeBufferSize(String writeBufferSize) Sets the buffer size in bytes used for writing data to SFTP connections. If not specified, the MINA SSHD default buffer size is used. Larger values may improve transfer speed for large files but will increase memory usage. Maximum recommended value is 126976 bytes (124KB) to avoid data corruption issues. This parameter maps directly to Apache MINA SSHD's WRITE_BUFFER_SIZE property. The option will be converted to ajava.lang.Integertype. Group: advanced- Specified by:
writeBufferSizein interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointConsumerBuilder- Specified by:
writeBufferSizein interfaceMinaSftpEndpointBuilderFactory.AdvancedMinaSftpEndpointProducerBuilder- Parameters:
writeBufferSize- the value to set- Returns:
- the dsl builder
-