Interface FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- All Known Subinterfaces:
FtpsEndpointBuilderFactory.FtpsEndpointBuilder
- Enclosing interface:
- FtpsEndpointBuilderFactory
public static interface FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint producers for the FTPS component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder
account(String account)
Account to use for login.default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointProducerBuilder
advanced()
default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder
binary(boolean binary)
Specifies the file transfer mode, BINARY or ASCII.default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder
binary(String binary)
Specifies the file transfer mode, BINARY or ASCII.default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder
charset(String charset)
This option is used to specify the encoding of the file.default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder
disableSecureDataChannelDefaults(boolean disableSecureDataChannelDefaults)
Use this option to disable default options when using secure data channel.default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder
disableSecureDataChannelDefaults(String disableSecureDataChannelDefaults)
Use this option to disable default options when using secure data channel.default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder
disconnect(boolean disconnect)
Whether or not to disconnect from remote FTP server right after use.default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder
disconnect(String disconnect)
Whether or not to disconnect from remote FTP server right after use.default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder
doneFileName(String doneFileName)
Producer: If provided, then Camel will write a 2nd done file when the original file has been written.default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder
execPbsz(Long execPbsz)
When using secure data channel you can set the exec protection buffer size.default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder
execPbsz(String execPbsz)
When using secure data channel you can set the exec protection buffer size.default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder
execProt(String execProt)
The exec protection level PROT command.default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder
fileExist(String fileExist)
What to do if a file already exists with the same name.default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder
fileExist(org.apache.camel.component.file.GenericFileExist fileExist)
What to do if a file already exists with the same name.default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder
fileName(String fileName)
Use Expression such as File Language to dynamically set the filename.default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder
flatten(boolean flatten)
Flatten is used to flatten the file name path to strip any leading paths, so it's just the file name.default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder
flatten(String flatten)
Flatten is used to flatten the file name path to strip any leading paths, so it's just the file name.default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder
ftpClientKeyStoreParameters(String key, Object value)
Set the key store parameters.default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder
ftpClientKeyStoreParameters(Map values)
Set the key store parameters.default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder
ftpClientTrustStoreParameters(String key, Object value)
Set the trust store parameters.default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder
ftpClientTrustStoreParameters(Map values)
Set the trust store parameters.default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder
implicit(boolean implicit)
Set the security mode (Implicit/Explicit).default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder
implicit(String implicit)
Set the security mode (Implicit/Explicit).default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder
jailStartingDirectory(boolean jailStartingDirectory)
Used for jailing (restricting) writing files to the starting directory (and sub) only.default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder
jailStartingDirectory(String jailStartingDirectory)
Used for jailing (restricting) writing files to the starting directory (and sub) only.default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder
moveExisting(String moveExisting)
Expression (such as File Language) used to compute file name to use when fileExist=Move is configured.default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder
passiveMode(boolean passiveMode)
Sets passive mode connections.default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder
passiveMode(String passiveMode)
Sets passive mode connections.default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder
password(String password)
Password to use for login.default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder
securityProtocol(String securityProtocol)
Set the underlying security protocol.default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder
separator(String separator)
Sets the path separator to be used.default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder
separator(org.apache.camel.component.file.remote.RemoteFileConfiguration.PathSeparator separator)
Sets the path separator to be used.default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder
sslContextParameters(String sslContextParameters)
Gets the JSSE configuration that overrides any settings in FtpsEndpoint#ftpClientKeyStoreParameters, ftpClientTrustStoreParameters, and FtpsConfiguration#getSecurityProtocol().default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder
sslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)
Gets the JSSE configuration that overrides any settings in FtpsEndpoint#ftpClientKeyStoreParameters, ftpClientTrustStoreParameters, and FtpsConfiguration#getSecurityProtocol().default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder
tempFileName(String tempFileName)
The same as tempPrefix option but offering a more fine grained control on the naming of the temporary filename as it uses the File Language.default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder
tempPrefix(String tempPrefix)
This option is used to write the file using a temporary name and then, after the write is complete, rename it to the real name.default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder
transferLoggingIntervalSeconds(int transferLoggingIntervalSeconds)
Configures the interval in seconds to use when logging the progress of upload and download operations that are in-flight.default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder
transferLoggingIntervalSeconds(String transferLoggingIntervalSeconds)
Configures the interval in seconds to use when logging the progress of upload and download operations that are in-flight.default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder
transferLoggingLevel(String transferLoggingLevel)
Configure the logging level to use when logging the progress of upload and download operations.default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder
transferLoggingLevel(org.apache.camel.LoggingLevel transferLoggingLevel)
Configure the logging level to use when logging the progress of upload and download operations.default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder
transferLoggingVerbose(boolean transferLoggingVerbose)
Configures whether the perform verbose (fine grained) logging of the progress of upload and download operations.default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder
transferLoggingVerbose(String transferLoggingVerbose)
Configures whether the perform verbose (fine grained) logging of the progress of upload and download operations.default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder
username(String username)
Username to use for login.
-
-
-
Method Detail
-
advanced
default FtpsEndpointBuilderFactory.AdvancedFtpsEndpointProducerBuilder advanced()
-
binary
default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder binary(boolean binary)
Specifies the file transfer mode, BINARY or ASCII. Default is ASCII (false). The option is a: <code>boolean</code> type. Default: false Group: common- Parameters:
binary
- the value to set- Returns:
- the dsl builder
-
binary
default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder binary(String binary)
Specifies the file transfer mode, BINARY or ASCII. Default is ASCII (false). The option will be converted to a <code>boolean</code> type. Default: false Group: common- Parameters:
binary
- the value to set- Returns:
- the dsl builder
-
charset
default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder charset(String charset)
This option is used to specify the encoding of the file. You can use this on the consumer, to specify the encodings of the files, which allow Camel to know the charset it should load the file content in case the file content is being accessed. Likewise when writing a file, you can use this option to specify which charset to write the file as well. Do mind that when writing the file Camel may have to read the message content into memory to be able to convert the data into the configured charset, so do not use this if you have big messages. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
charset
- the value to set- Returns:
- the dsl builder
-
disconnect
default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder disconnect(boolean disconnect)
Whether or not to disconnect from remote FTP server right after use. Disconnect will only disconnect the current connection to the FTP server. If you have a consumer which you want to stop, then you need to stop the consumer/route instead. The option is a: <code>boolean</code> type. Default: false Group: common- Parameters:
disconnect
- the value to set- Returns:
- the dsl builder
-
disconnect
default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder disconnect(String disconnect)
Whether or not to disconnect from remote FTP server right after use. Disconnect will only disconnect the current connection to the FTP server. If you have a consumer which you want to stop, then you need to stop the consumer/route instead. The option will be converted to a <code>boolean</code> type. Default: false Group: common- Parameters:
disconnect
- the value to set- Returns:
- the dsl builder
-
doneFileName
default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder doneFileName(String doneFileName)
Producer: If provided, then Camel will write a 2nd done file when the original file has been written. The done file will be empty. This option configures what file name to use. Either you can specify a fixed name. Or you can use dynamic placeholders. The done file will always be written in the same folder as the original file. Consumer: If provided, Camel will only consume files if a done file exists. This option configures what file name to use. Either you can specify a fixed name. Or you can use dynamic placeholders.The done file is always expected in the same folder as the original file. Only ${file.name} and ${file.name.next} is supported as dynamic placeholders. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
doneFileName
- the value to set- Returns:
- the dsl builder
-
fileName
default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder fileName(String fileName)
Use Expression such as File Language to dynamically set the filename. For consumers, it's used as a filename filter. For producers, it's used to evaluate the filename to write. If an expression is set, it take precedence over the CamelFileName header. (Note: The header itself can also be an Expression). The expression options support both String and Expression types. If the expression is a String type, it is always evaluated using the File Language. If the expression is an Expression type, the specified Expression type is used - this allows you, for instance, to use OGNL expressions. For the consumer, you can use it to filter filenames, so you can for instance consume today's file using the File Language syntax: mydata-${date:now:yyyyMMdd}.txt. The producers support the CamelOverruleFileName header which takes precedence over any existing CamelFileName header; the CamelOverruleFileName is a header that is used only once, and makes it easier as this avoids to temporary store CamelFileName and have to restore it afterwards. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
fileName
- the value to set- Returns:
- the dsl builder
-
passiveMode
default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder passiveMode(boolean passiveMode)
Sets passive mode connections. Default is active mode connections. The option is a: <code>boolean</code> type. Default: false Group: common- Parameters:
passiveMode
- the value to set- Returns:
- the dsl builder
-
passiveMode
default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder passiveMode(String passiveMode)
Sets passive mode connections. Default is active mode connections. The option will be converted to a <code>boolean</code> type. Default: false Group: common- Parameters:
passiveMode
- the value to set- Returns:
- the dsl builder
-
separator
default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder separator(org.apache.camel.component.file.remote.RemoteFileConfiguration.PathSeparator separator)
Sets the path separator to be used. UNIX = Uses unix style path separator Windows = Uses windows style path separator Auto = (is default) Use existing path separator in file name. The option is a: <code>org.apache.camel.component.file.remote.RemoteFileConfiguration.PathSeparator</code> type. Default: UNIX Group: common- Parameters:
separator
- the value to set- Returns:
- the dsl builder
-
separator
default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder separator(String separator)
Sets the path separator to be used. UNIX = Uses unix style path separator Windows = Uses windows style path separator Auto = (is default) Use existing path separator in file name. The option will be converted to a <code>org.apache.camel.component.file.remote.RemoteFileConfiguration.PathSeparator</code> type. Default: UNIX Group: common- Parameters:
separator
- the value to set- Returns:
- the dsl builder
-
transferLoggingIntervalSeconds
default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder transferLoggingIntervalSeconds(int transferLoggingIntervalSeconds)
Configures the interval in seconds to use when logging the progress of upload and download operations that are in-flight. This is used for logging progress when operations takes longer time. The option is a: <code>int</code> type. Default: 5 Group: common- Parameters:
transferLoggingIntervalSeconds
- the value to set- Returns:
- the dsl builder
-
transferLoggingIntervalSeconds
default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder transferLoggingIntervalSeconds(String transferLoggingIntervalSeconds)
Configures the interval in seconds to use when logging the progress of upload and download operations that are in-flight. This is used for logging progress when operations takes longer time. The option will be converted to a <code>int</code> type. Default: 5 Group: common- Parameters:
transferLoggingIntervalSeconds
- the value to set- Returns:
- the dsl builder
-
transferLoggingLevel
default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder transferLoggingLevel(org.apache.camel.LoggingLevel transferLoggingLevel)
Configure the logging level to use when logging the progress of upload and download operations. The option is a: <code>org.apache.camel.LoggingLevel</code> type. Default: DEBUG Group: common- Parameters:
transferLoggingLevel
- the value to set- Returns:
- the dsl builder
-
transferLoggingLevel
default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder transferLoggingLevel(String transferLoggingLevel)
Configure the logging level to use when logging the progress of upload and download operations. The option will be converted to a <code>org.apache.camel.LoggingLevel</code> type. Default: DEBUG Group: common- Parameters:
transferLoggingLevel
- the value to set- Returns:
- the dsl builder
-
transferLoggingVerbose
default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder transferLoggingVerbose(boolean transferLoggingVerbose)
Configures whether the perform verbose (fine grained) logging of the progress of upload and download operations. The option is a: <code>boolean</code> type. Default: false Group: common- Parameters:
transferLoggingVerbose
- the value to set- Returns:
- the dsl builder
-
transferLoggingVerbose
default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder transferLoggingVerbose(String transferLoggingVerbose)
Configures whether the perform verbose (fine grained) logging of the progress of upload and download operations. The option will be converted to a <code>boolean</code> type. Default: false Group: common- Parameters:
transferLoggingVerbose
- the value to set- Returns:
- the dsl builder
-
fileExist
default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder fileExist(org.apache.camel.component.file.GenericFileExist fileExist)
What to do if a file already exists with the same name. Override, which is the default, replaces the existing file. - Append - adds content to the existing file. - Fail - throws a GenericFileOperationException, indicating that there is already an existing file. - Ignore - silently ignores the problem and does not override the existing file, but assumes everything is okay. - Move - option requires to use the moveExisting option to be configured as well. The option eagerDeleteTargetFile can be used to control what to do if an moving the file, and there exists already an existing file, otherwise causing the move operation to fail. The Move option will move any existing files, before writing the target file. - TryRename is only applicable if tempFileName option is in use. This allows to try renaming the file from the temporary name to the actual name, without doing any exists check. This check may be faster on some file systems and especially FTP servers. The option is a: <code>org.apache.camel.component.file.GenericFileExist</code> type. Default: Override Group: producer- Parameters:
fileExist
- the value to set- Returns:
- the dsl builder
-
fileExist
default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder fileExist(String fileExist)
What to do if a file already exists with the same name. Override, which is the default, replaces the existing file. - Append - adds content to the existing file. - Fail - throws a GenericFileOperationException, indicating that there is already an existing file. - Ignore - silently ignores the problem and does not override the existing file, but assumes everything is okay. - Move - option requires to use the moveExisting option to be configured as well. The option eagerDeleteTargetFile can be used to control what to do if an moving the file, and there exists already an existing file, otherwise causing the move operation to fail. The Move option will move any existing files, before writing the target file. - TryRename is only applicable if tempFileName option is in use. This allows to try renaming the file from the temporary name to the actual name, without doing any exists check. This check may be faster on some file systems and especially FTP servers. The option will be converted to a <code>org.apache.camel.component.file.GenericFileExist</code> type. Default: Override Group: producer- Parameters:
fileExist
- the value to set- Returns:
- the dsl builder
-
flatten
default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder flatten(boolean flatten)
Flatten is used to flatten the file name path to strip any leading paths, so it's just the file name. This allows you to consume recursively into sub-directories, but when you eg write the files to another directory they will be written in a single directory. Setting this to true on the producer enforces that any file name in CamelFileName header will be stripped for any leading paths. The option is a: <code>boolean</code> type. Default: false Group: producer- Parameters:
flatten
- the value to set- Returns:
- the dsl builder
-
flatten
default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder flatten(String flatten)
Flatten is used to flatten the file name path to strip any leading paths, so it's just the file name. This allows you to consume recursively into sub-directories, but when you eg write the files to another directory they will be written in a single directory. Setting this to true on the producer enforces that any file name in CamelFileName header will be stripped for any leading paths. The option will be converted to a <code>boolean</code> type. Default: false Group: producer- Parameters:
flatten
- the value to set- Returns:
- the dsl builder
-
jailStartingDirectory
default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder jailStartingDirectory(boolean jailStartingDirectory)
Used for jailing (restricting) writing files to the starting directory (and sub) only. This is enabled by default to not allow Camel to write files to outside directories (to be more secured out of the box). You can turn this off to allow writing files to directories outside the starting directory, such as parent or root folders. The option is a: <code>boolean</code> type. Default: true Group: producer- Parameters:
jailStartingDirectory
- the value to set- Returns:
- the dsl builder
-
jailStartingDirectory
default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder jailStartingDirectory(String jailStartingDirectory)
Used for jailing (restricting) writing files to the starting directory (and sub) only. This is enabled by default to not allow Camel to write files to outside directories (to be more secured out of the box). You can turn this off to allow writing files to directories outside the starting directory, such as parent or root folders. The option will be converted to a <code>boolean</code> type. Default: true Group: producer- Parameters:
jailStartingDirectory
- the value to set- Returns:
- the dsl builder
-
moveExisting
default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder moveExisting(String moveExisting)
Expression (such as File Language) used to compute file name to use when fileExist=Move is configured. To move files into a backup subdirectory just enter backup. This option only supports the following File Language tokens: file:name, file:name.ext, file:name.noext, file:onlyname, file:onlyname.noext, file:ext, and file:parent. Notice the file:parent is not supported by the FTP component, as the FTP component can only move any existing files to a relative directory based on current dir as base. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
moveExisting
- the value to set- Returns:
- the dsl builder
-
tempFileName
default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder tempFileName(String tempFileName)
The same as tempPrefix option but offering a more fine grained control on the naming of the temporary filename as it uses the File Language. The location for tempFilename is relative to the final file location in the option 'fileName', not the target directory in the base uri. For example if option fileName includes a directory prefix: dir/finalFilename then tempFileName is relative to that subdirectory dir. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
tempFileName
- the value to set- Returns:
- the dsl builder
-
tempPrefix
default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder tempPrefix(String tempPrefix)
This option is used to write the file using a temporary name and then, after the write is complete, rename it to the real name. Can be used to identify files being written and also avoid consumers (not using exclusive read locks) reading in progress files. Is often used by FTP when uploading big files. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
tempPrefix
- the value to set- Returns:
- the dsl builder
-
account
default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder account(String account)
Account to use for login. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
account
- the value to set- Returns:
- the dsl builder
-
disableSecureDataChannelDefaults
default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder disableSecureDataChannelDefaults(boolean disableSecureDataChannelDefaults)
Use this option to disable default options when using secure data channel. This allows you to be in full control what the execPbsz and execProt setting should be used. Default is false. The option is a: <code>boolean</code> type. Default: false Group: security- Parameters:
disableSecureDataChannelDefaults
- the value to set- Returns:
- the dsl builder
-
disableSecureDataChannelDefaults
default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder disableSecureDataChannelDefaults(String disableSecureDataChannelDefaults)
Use this option to disable default options when using secure data channel. This allows you to be in full control what the execPbsz and execProt setting should be used. Default is false. The option will be converted to a <code>boolean</code> type. Default: false Group: security- Parameters:
disableSecureDataChannelDefaults
- the value to set- Returns:
- the dsl builder
-
execPbsz
default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder execPbsz(Long execPbsz)
When using secure data channel you can set the exec protection buffer size. The option is a: <code>java.lang.Long</code> type. Group: security- Parameters:
execPbsz
- the value to set- Returns:
- the dsl builder
-
execPbsz
default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder execPbsz(String execPbsz)
When using secure data channel you can set the exec protection buffer size. The option will be converted to a <code>java.lang.Long</code> type. Group: security- Parameters:
execPbsz
- the value to set- Returns:
- the dsl builder
-
execProt
default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder execProt(String execProt)
The exec protection level PROT command. C - Clear S - Safe(SSL protocol only) E - Confidential(SSL protocol only) P - Private. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
execProt
- the value to set- Returns:
- the dsl builder
-
ftpClientKeyStoreParameters
default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder ftpClientKeyStoreParameters(String key, Object value)
Set the key store parameters. The option is a: <code>java.util.Map<java.lang.String, java.lang.Object></code> type. The option is multivalued, and you can use the ftpClientKeyStoreParameters(String, Object) method to add a value (call the method multiple times to set more values). Group: security- Parameters:
key
- the option keyvalue
- the option value- Returns:
- the dsl builder
-
ftpClientKeyStoreParameters
default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder ftpClientKeyStoreParameters(Map values)
Set the key store parameters. The option is a: <code>java.util.Map<java.lang.String, java.lang.Object></code> type. The option is multivalued, and you can use the ftpClientKeyStoreParameters(String, Object) method to add a value (call the method multiple times to set more values). Group: security- Parameters:
values
- the values- Returns:
- the dsl builder
-
ftpClientTrustStoreParameters
default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder ftpClientTrustStoreParameters(String key, Object value)
Set the trust store parameters. The option is a: <code>java.util.Map<java.lang.String, java.lang.Object></code> type. The option is multivalued, and you can use the ftpClientTrustStoreParameters(String, Object) method to add a value (call the method multiple times to set more values). Group: security- Parameters:
key
- the option keyvalue
- the option value- Returns:
- the dsl builder
-
ftpClientTrustStoreParameters
default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder ftpClientTrustStoreParameters(Map values)
Set the trust store parameters. The option is a: <code>java.util.Map<java.lang.String, java.lang.Object></code> type. The option is multivalued, and you can use the ftpClientTrustStoreParameters(String, Object) method to add a value (call the method multiple times to set more values). Group: security- Parameters:
values
- the values- Returns:
- the dsl builder
-
implicit
default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder implicit(boolean implicit)
Set the security mode (Implicit/Explicit). true - Implicit Mode / False - Explicit Mode. The option is a: <code>boolean</code> type. Default: false Group: security- Parameters:
implicit
- the value to set- Returns:
- the dsl builder
-
implicit
default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder implicit(String implicit)
Set the security mode (Implicit/Explicit). true - Implicit Mode / False - Explicit Mode. The option will be converted to a <code>boolean</code> type. Default: false Group: security- Parameters:
implicit
- the value to set- Returns:
- the dsl builder
-
password
default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder password(String password)
Password to use for login. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
password
- the value to set- Returns:
- the dsl builder
-
securityProtocol
default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder securityProtocol(String securityProtocol)
Set the underlying security protocol. The option is a: <code>java.lang.String</code> type. Default: TLSv1.3 Group: security- Parameters:
securityProtocol
- the value to set- Returns:
- the dsl builder
-
sslContextParameters
default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder sslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)
Gets the JSSE configuration that overrides any settings in FtpsEndpoint#ftpClientKeyStoreParameters, ftpClientTrustStoreParameters, and FtpsConfiguration#getSecurityProtocol(). The option is a: <code>org.apache.camel.support.jsse.SSLContextParameters</code> type. Group: security- Parameters:
sslContextParameters
- the value to set- Returns:
- the dsl builder
-
sslContextParameters
default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder sslContextParameters(String sslContextParameters)
Gets the JSSE configuration that overrides any settings in FtpsEndpoint#ftpClientKeyStoreParameters, ftpClientTrustStoreParameters, and FtpsConfiguration#getSecurityProtocol(). The option will be converted to a <code>org.apache.camel.support.jsse.SSLContextParameters</code> type. Group: security- Parameters:
sslContextParameters
- the value to set- Returns:
- the dsl builder
-
username
default FtpsEndpointBuilderFactory.FtpsEndpointProducerBuilder username(String username)
Username to use for login. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
username
- the value to set- Returns:
- the dsl builder
-
-