This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 693082e00c0 CAMEL-20172: Add enums to the option so we know which
algorithms that can be selected.
693082e00c0 is described below
commit 693082e00c00dcb12e643564d9f13bc1b08b7ab3
Author: Claus Ibsen <[email protected]>
AuthorDate: Fri Dec 1 12:45:56 2023 +0100
CAMEL-20172: Add enums to the option so we know which algorithms that can
be selected.
---
.../org/apache/camel/catalog/components/file.json | 2 +-
.../org/apache/camel/catalog/components/ftp.json | 2 +-
.../org/apache/camel/catalog/components/ftps.json | 2 +-
.../org/apache/camel/catalog/components/scp.json | 2 +-
.../org/apache/camel/catalog/components/sftp.json | 2 +-
.../org/apache/camel/component/file/file.json | 2 +-
.../camel/component/file/GenericFileEndpoint.java | 7 ++--
.../camel/component/file/GenericFileProducer.java | 2 +-
.../apache/camel/component/file/remote/ftp.json | 2 +-
.../apache/camel/component/file/remote/ftps.json | 2 +-
.../apache/camel/component/file/remote/sftp.json | 2 +-
.../org/apache/camel/component/scp/scp.json | 2 +-
.../dsl/AWSConfigEndpointBuilderFactory.java | 41 ++++++++++++++++++++++
.../endpoint/dsl/FileEndpointBuilderFactory.java | 19 ++++++++++
.../endpoint/dsl/FilesEndpointBuilderFactory.java | 19 ++++++++++
.../endpoint/dsl/FtpEndpointBuilderFactory.java | 19 ++++++++++
.../endpoint/dsl/FtpsEndpointBuilderFactory.java | 19 ++++++++++
.../endpoint/dsl/ScpEndpointBuilderFactory.java | 19 ++++++++++
.../endpoint/dsl/SftpEndpointBuilderFactory.java | 19 ++++++++++
19 files changed, 170 insertions(+), 14 deletions(-)
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/file.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/file.json
index ef2412cbbdb..ec9fb0dd675 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/file.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/file.json
@@ -74,7 +74,7 @@
"startingDirectoryMustExist": { "index": 24, "kind": "parameter",
"displayName": "Starting Directory Must Exist", "group": "consumer (advanced)",
"label": "consumer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Whether the starting directory must
exist. Mind that the autoCreate option is default enabled, which means the
starting directory is normally auto created [...]
"startingDirectoryMustHaveAccess": { "index": 25, "kind": "parameter",
"displayName": "Starting Directory Must Have Access", "group": "consumer
(advanced)", "label": "consumer,advanced", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "Whether the starting
directory has access permissions. Mind that the startingDirectoryMustExist
parameter must be set to true in order to verif [...]
"appendChars": { "index": 26, "kind": "parameter", "displayName": "Append
Chars", "group": "producer", "label": "producer", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "Used to append characters (text) after
writing files. This can for example be used to add new lines or other
separators when writing and appending new files or existing files. To specify
new-line (slash-n or slash-r) or t [...]
- "checksumFileAlgorithm": { "index": 27, "kind": "parameter",
"displayName": "Checksum File Algorithm", "group": "producer", "label":
"producer", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "If provided, then Camel will write a checksum file when the
original file has been written. The checksum file will contain the checksum
created with the provided algorithm for the original file. The c [...]
+ "checksumFileAlgorithm": { "index": 27, "kind": "parameter",
"displayName": "Checksum File Algorithm", "group": "producer", "label":
"producer", "required": false, "type": "string", "javaType":
"java.lang.String", "enum": [ "MD2", "MD5", "SHA_1", "SHA_224", "SHA_256",
"SHA_384", "SHA_512", "SHA_512_224", "SHA_512_256", "SHA3_224", "SHA3_256",
"SHA3_384", "SHA3_512" ], "deprecated": false, "autowired": false, "secret":
false, "description": "If provided, then Camel will write a checks [...]
"fileExist": { "index": 28, "kind": "parameter", "displayName": "File
Exist", "group": "producer", "label": "producer", "required": false, "type":
"object", "javaType": "org.apache.camel.component.file.GenericFileExist",
"enum": [ "Override", "Append", "Fail", "Ignore", "Move", "TryRename" ],
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
"Override", "description": "What to do if a file already exists with the same
name. Override, which is the default, repl [...]
"flatten": { "index": 29, "kind": "parameter", "displayName": "Flatten",
"group": "producer", "label": "producer", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": false, "description": "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 [...]
"jailStartingDirectory": { "index": 30, "kind": "parameter",
"displayName": "Jail Starting Directory", "group": "producer", "label":
"producer", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "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 sec [...]
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/ftp.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/ftp.json
index c4a03cdeb83..5341d924f56 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/ftp.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/ftp.json
@@ -77,7 +77,7 @@
"pollStrategy": { "index": 32, "kind": "parameter", "displayName": "Poll
Strategy", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "object", "javaType":
"org.apache.camel.spi.PollingConsumerPollStrategy", "deprecated": false,
"autowired": false, "secret": false, "description": "A pluggable
org.apache.camel.PollingConsumerPollingStrategy allowing you to provide your
custom implementation to control error handling usually occurred during the po
[...]
"processStrategy": { "index": 33, "kind": "parameter", "displayName":
"Process Strategy", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "object", "javaType":
"org.apache.camel.component.file.GenericFileProcessStrategy<org.apache.commons.net.ftp.FTPFile>",
"deprecated": false, "autowired": false, "secret": false, "description": "A
pluggable org.apache.camel.component.file.GenericFileProcessStrategy allowing
you to implement your own readLock [...]
"useList": { "index": 34, "kind": "parameter", "displayName": "Use List",
"group": "consumer (advanced)", "label": "consumer,advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true,
"configurationClass":
"org.apache.camel.component.file.remote.FtpConfiguration",
"configurationField": "configuration", "description": "Whether to allow using
LIST command when downloading a file. Default is tru [...]
- "checksumFileAlgorithm": { "index": 35, "kind": "parameter",
"displayName": "Checksum File Algorithm", "group": "producer", "label":
"producer", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "If provided, then Camel will write a checksum file when the
original file has been written. The checksum file will contain the checksum
created with the provided algorithm for the original file. The c [...]
+ "checksumFileAlgorithm": { "index": 35, "kind": "parameter",
"displayName": "Checksum File Algorithm", "group": "producer", "label":
"producer", "required": false, "type": "string", "javaType":
"java.lang.String", "enum": [ "MD2", "MD5", "SHA_1", "SHA_224", "SHA_256",
"SHA_384", "SHA_512", "SHA_512_224", "SHA_512_256", "SHA3_224", "SHA3_256",
"SHA3_384", "SHA3_512" ], "deprecated": false, "autowired": false, "secret":
false, "description": "If provided, then Camel will write a checks [...]
"fileExist": { "index": 36, "kind": "parameter", "displayName": "File
Exist", "group": "producer", "label": "producer", "required": false, "type":
"object", "javaType": "org.apache.camel.component.file.GenericFileExist",
"enum": [ "Override", "Append", "Fail", "Ignore", "Move", "TryRename" ],
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
"Override", "description": "What to do if a file already exists with the same
name. Override, which is the default, repl [...]
"flatten": { "index": 37, "kind": "parameter", "displayName": "Flatten",
"group": "producer", "label": "producer", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": false, "description": "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 [...]
"jailStartingDirectory": { "index": 38, "kind": "parameter",
"displayName": "Jail Starting Directory", "group": "producer", "label":
"producer", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "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 sec [...]
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/ftps.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/ftps.json
index 65ba93938ca..cdf4b7f812e 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/ftps.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/ftps.json
@@ -78,7 +78,7 @@
"pollStrategy": { "index": 32, "kind": "parameter", "displayName": "Poll
Strategy", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "object", "javaType":
"org.apache.camel.spi.PollingConsumerPollStrategy", "deprecated": false,
"autowired": false, "secret": false, "description": "A pluggable
org.apache.camel.PollingConsumerPollingStrategy allowing you to provide your
custom implementation to control error handling usually occurred during the po
[...]
"processStrategy": { "index": 33, "kind": "parameter", "displayName":
"Process Strategy", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "object", "javaType":
"org.apache.camel.component.file.GenericFileProcessStrategy<org.apache.commons.net.ftp.FTPFile>",
"deprecated": false, "autowired": false, "secret": false, "description": "A
pluggable org.apache.camel.component.file.GenericFileProcessStrategy allowing
you to implement your own readLock [...]
"useList": { "index": 34, "kind": "parameter", "displayName": "Use List",
"group": "consumer (advanced)", "label": "consumer,advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true,
"configurationClass":
"org.apache.camel.component.file.remote.FtpsConfiguration",
"configurationField": "configuration", "description": "Whether to allow using
LIST command when downloading a file. Default is tr [...]
- "checksumFileAlgorithm": { "index": 35, "kind": "parameter",
"displayName": "Checksum File Algorithm", "group": "producer", "label":
"producer", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "If provided, then Camel will write a checksum file when the
original file has been written. The checksum file will contain the checksum
created with the provided algorithm for the original file. The c [...]
+ "checksumFileAlgorithm": { "index": 35, "kind": "parameter",
"displayName": "Checksum File Algorithm", "group": "producer", "label":
"producer", "required": false, "type": "string", "javaType":
"java.lang.String", "enum": [ "MD2", "MD5", "SHA_1", "SHA_224", "SHA_256",
"SHA_384", "SHA_512", "SHA_512_224", "SHA_512_256", "SHA3_224", "SHA3_256",
"SHA3_384", "SHA3_512" ], "deprecated": false, "autowired": false, "secret":
false, "description": "If provided, then Camel will write a checks [...]
"fileExist": { "index": 36, "kind": "parameter", "displayName": "File
Exist", "group": "producer", "label": "producer", "required": false, "type":
"object", "javaType": "org.apache.camel.component.file.GenericFileExist",
"enum": [ "Override", "Append", "Fail", "Ignore", "Move", "TryRename" ],
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
"Override", "description": "What to do if a file already exists with the same
name. Override, which is the default, repl [...]
"flatten": { "index": 37, "kind": "parameter", "displayName": "Flatten",
"group": "producer", "label": "producer", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": false, "description": "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 [...]
"jailStartingDirectory": { "index": 38, "kind": "parameter",
"displayName": "Jail Starting Directory", "group": "producer", "label":
"producer", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "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 sec [...]
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/scp.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/scp.json
index 4742d76ff6c..4baf94f8f34 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/scp.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/scp.json
@@ -34,7 +34,7 @@
"directoryName": { "index": 2, "kind": "path", "displayName": "Directory
Name", "group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.scp.ScpConfiguration", "configurationField":
"configuration", "description": "The starting directory" },
"chmod": { "index": 3, "kind": "parameter", "displayName": "Chmod",
"group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "664", "configurationClass":
"org.apache.camel.component.scp.ScpConfiguration", "configurationField":
"configuration", "description": "Allows you to set chmod on the stored file.
For example chmod=664." },
"disconnect": { "index": 4, "kind": "parameter", "displayName":
"Disconnect", "group": "common", "label": "common", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "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 th [...]
- "checksumFileAlgorithm": { "index": 5, "kind": "parameter", "displayName":
"Checksum File Algorithm", "group": "producer", "label": "producer",
"required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "If
provided, then Camel will write a checksum file when the original file has been
written. The checksum file will contain the checksum created with the provided
algorithm for the original file. The ch [...]
+ "checksumFileAlgorithm": { "index": 5, "kind": "parameter", "displayName":
"Checksum File Algorithm", "group": "producer", "label": "producer",
"required": false, "type": "string", "javaType": "java.lang.String", "enum": [
"MD2", "MD5", "SHA_1", "SHA_224", "SHA_256", "SHA_384", "SHA_512",
"SHA_512_224", "SHA_512_256", "SHA3_224", "SHA3_256", "SHA3_384", "SHA3_512" ],
"deprecated": false, "autowired": false, "secret": false, "description": "If
provided, then Camel will write a checksu [...]
"fileName": { "index": 6, "kind": "parameter", "displayName": "File Name",
"group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "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 CamelF [...]
"flatten": { "index": 7, "kind": "parameter", "displayName": "Flatten",
"group": "producer", "label": "producer", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": false, "description": "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 [...]
"jailStartingDirectory": { "index": 8, "kind": "parameter", "displayName":
"Jail Starting Directory", "group": "producer", "label": "producer",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": true,
"description": "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 secu [...]
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/sftp.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/sftp.json
index 5fa1879c999..9b20f427d71 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/sftp.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/sftp.json
@@ -72,7 +72,7 @@
"pollStrategy": { "index": 28, "kind": "parameter", "displayName": "Poll
Strategy", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "object", "javaType":
"org.apache.camel.spi.PollingConsumerPollStrategy", "deprecated": false,
"autowired": false, "secret": false, "description": "A pluggable
org.apache.camel.PollingConsumerPollingStrategy allowing you to provide your
custom implementation to control error handling usually occurred during the po
[...]
"processStrategy": { "index": 29, "kind": "parameter", "displayName":
"Process Strategy", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "object", "javaType":
"org.apache.camel.component.file.GenericFileProcessStrategy<org.apache.camel.component.file.remote.SftpRemoteFile>",
"deprecated": false, "autowired": false, "secret": false, "description": "A
pluggable org.apache.camel.component.file.GenericFileProcessStrategy allowing
you to implement [...]
"useList": { "index": 30, "kind": "parameter", "displayName": "Use List",
"group": "consumer (advanced)", "label": "consumer,advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true,
"configurationClass":
"org.apache.camel.component.file.remote.SftpConfiguration",
"configurationField": "configuration", "description": "Whether to allow using
LIST command when downloading a file. Default is tr [...]
- "checksumFileAlgorithm": { "index": 31, "kind": "parameter",
"displayName": "Checksum File Algorithm", "group": "producer", "label":
"producer", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "If provided, then Camel will write a checksum file when the
original file has been written. The checksum file will contain the checksum
created with the provided algorithm for the original file. The c [...]
+ "checksumFileAlgorithm": { "index": 31, "kind": "parameter",
"displayName": "Checksum File Algorithm", "group": "producer", "label":
"producer", "required": false, "type": "string", "javaType":
"java.lang.String", "enum": [ "MD2", "MD5", "SHA_1", "SHA_224", "SHA_256",
"SHA_384", "SHA_512", "SHA_512_224", "SHA_512_256", "SHA3_224", "SHA3_256",
"SHA3_384", "SHA3_512" ], "deprecated": false, "autowired": false, "secret":
false, "description": "If provided, then Camel will write a checks [...]
"fileExist": { "index": 32, "kind": "parameter", "displayName": "File
Exist", "group": "producer", "label": "producer", "required": false, "type":
"object", "javaType": "org.apache.camel.component.file.GenericFileExist",
"enum": [ "Override", "Append", "Fail", "Ignore", "Move", "TryRename" ],
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
"Override", "description": "What to do if a file already exists with the same
name. Override, which is the default, repl [...]
"flatten": { "index": 33, "kind": "parameter", "displayName": "Flatten",
"group": "producer", "label": "producer", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": false, "description": "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 [...]
"jailStartingDirectory": { "index": 34, "kind": "parameter",
"displayName": "Jail Starting Directory", "group": "producer", "label":
"producer", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "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 sec [...]
diff --git
a/components/camel-file/src/generated/resources/org/apache/camel/component/file/file.json
b/components/camel-file/src/generated/resources/org/apache/camel/component/file/file.json
index ef2412cbbdb..ec9fb0dd675 100644
---
a/components/camel-file/src/generated/resources/org/apache/camel/component/file/file.json
+++
b/components/camel-file/src/generated/resources/org/apache/camel/component/file/file.json
@@ -74,7 +74,7 @@
"startingDirectoryMustExist": { "index": 24, "kind": "parameter",
"displayName": "Starting Directory Must Exist", "group": "consumer (advanced)",
"label": "consumer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Whether the starting directory must
exist. Mind that the autoCreate option is default enabled, which means the
starting directory is normally auto created [...]
"startingDirectoryMustHaveAccess": { "index": 25, "kind": "parameter",
"displayName": "Starting Directory Must Have Access", "group": "consumer
(advanced)", "label": "consumer,advanced", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "Whether the starting
directory has access permissions. Mind that the startingDirectoryMustExist
parameter must be set to true in order to verif [...]
"appendChars": { "index": 26, "kind": "parameter", "displayName": "Append
Chars", "group": "producer", "label": "producer", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "Used to append characters (text) after
writing files. This can for example be used to add new lines or other
separators when writing and appending new files or existing files. To specify
new-line (slash-n or slash-r) or t [...]
- "checksumFileAlgorithm": { "index": 27, "kind": "parameter",
"displayName": "Checksum File Algorithm", "group": "producer", "label":
"producer", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "If provided, then Camel will write a checksum file when the
original file has been written. The checksum file will contain the checksum
created with the provided algorithm for the original file. The c [...]
+ "checksumFileAlgorithm": { "index": 27, "kind": "parameter",
"displayName": "Checksum File Algorithm", "group": "producer", "label":
"producer", "required": false, "type": "string", "javaType":
"java.lang.String", "enum": [ "MD2", "MD5", "SHA_1", "SHA_224", "SHA_256",
"SHA_384", "SHA_512", "SHA_512_224", "SHA_512_256", "SHA3_224", "SHA3_256",
"SHA3_384", "SHA3_512" ], "deprecated": false, "autowired": false, "secret":
false, "description": "If provided, then Camel will write a checks [...]
"fileExist": { "index": 28, "kind": "parameter", "displayName": "File
Exist", "group": "producer", "label": "producer", "required": false, "type":
"object", "javaType": "org.apache.camel.component.file.GenericFileExist",
"enum": [ "Override", "Append", "Fail", "Ignore", "Move", "TryRename" ],
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
"Override", "description": "What to do if a file already exists with the same
name. Override, which is the default, repl [...]
"flatten": { "index": 29, "kind": "parameter", "displayName": "Flatten",
"group": "producer", "label": "producer", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": false, "description": "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 [...]
"jailStartingDirectory": { "index": 30, "kind": "parameter",
"displayName": "Jail Starting Directory", "group": "producer", "label":
"producer", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "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 sec [...]
diff --git
a/components/camel-file/src/main/java/org/apache/camel/component/file/GenericFileEndpoint.java
b/components/camel-file/src/main/java/org/apache/camel/component/file/GenericFileEndpoint.java
index 9b7d47f25fd..a358e1076f3 100644
---
a/components/camel-file/src/main/java/org/apache/camel/component/file/GenericFileEndpoint.java
+++
b/components/camel-file/src/main/java/org/apache/camel/component/file/GenericFileEndpoint.java
@@ -163,9 +163,10 @@ public abstract class GenericFileEndpoint<T> extends
ScheduledPollEndpoint imple
+ "eg slash-slash-n.")
protected String appendChars;
@UriParam(label = "producer",
- description = "If provided, then Camel will write a checksum
file when the original file has been written. The checksum file "
- + "will contain the checksum created with the
provided algorithm for the original file. The checksum file will "
- + "always be written in the same folder as the
original file.")
+ enums =
"MD2,MD5,SHA_1,SHA_224,SHA_256,SHA_384,SHA_512,SHA_512_224,SHA_512_256,SHA3_224,SHA3_256,SHA3_384,SHA3_512",
+ description = "If provided, then Camel will write a checksum
file when the original file has been written. The checksum file"
+ + " will contain the checksum created with the
provided algorithm for the original file. The checksum file will"
+ + " always be written in the same folder as the
original file.")
protected String checksumFileAlgorithm;
// consumer options
diff --git
a/components/camel-file/src/main/java/org/apache/camel/component/file/GenericFileProducer.java
b/components/camel-file/src/main/java/org/apache/camel/component/file/GenericFileProducer.java
index 417f083b233..0031201e717 100644
---
a/components/camel-file/src/main/java/org/apache/camel/component/file/GenericFileProducer.java
+++
b/components/camel-file/src/main/java/org/apache/camel/component/file/GenericFileProducer.java
@@ -250,7 +250,7 @@ public class GenericFileProducer<T> extends DefaultProducer
{
postWriteCheck(exchange);
}
- public void writeChecksumFile(Exchange exchange, String target) throws
Exception {
+ protected void writeChecksumFile(Exchange exchange, String target) throws
Exception {
String algorithm = endpoint.getChecksumFileAlgorithm();
String checksumFileName = target + "." + algorithm;
diff --git
a/components/camel-ftp/src/generated/resources/org/apache/camel/component/file/remote/ftp.json
b/components/camel-ftp/src/generated/resources/org/apache/camel/component/file/remote/ftp.json
index c4a03cdeb83..5341d924f56 100644
---
a/components/camel-ftp/src/generated/resources/org/apache/camel/component/file/remote/ftp.json
+++
b/components/camel-ftp/src/generated/resources/org/apache/camel/component/file/remote/ftp.json
@@ -77,7 +77,7 @@
"pollStrategy": { "index": 32, "kind": "parameter", "displayName": "Poll
Strategy", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "object", "javaType":
"org.apache.camel.spi.PollingConsumerPollStrategy", "deprecated": false,
"autowired": false, "secret": false, "description": "A pluggable
org.apache.camel.PollingConsumerPollingStrategy allowing you to provide your
custom implementation to control error handling usually occurred during the po
[...]
"processStrategy": { "index": 33, "kind": "parameter", "displayName":
"Process Strategy", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "object", "javaType":
"org.apache.camel.component.file.GenericFileProcessStrategy<org.apache.commons.net.ftp.FTPFile>",
"deprecated": false, "autowired": false, "secret": false, "description": "A
pluggable org.apache.camel.component.file.GenericFileProcessStrategy allowing
you to implement your own readLock [...]
"useList": { "index": 34, "kind": "parameter", "displayName": "Use List",
"group": "consumer (advanced)", "label": "consumer,advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true,
"configurationClass":
"org.apache.camel.component.file.remote.FtpConfiguration",
"configurationField": "configuration", "description": "Whether to allow using
LIST command when downloading a file. Default is tru [...]
- "checksumFileAlgorithm": { "index": 35, "kind": "parameter",
"displayName": "Checksum File Algorithm", "group": "producer", "label":
"producer", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "If provided, then Camel will write a checksum file when the
original file has been written. The checksum file will contain the checksum
created with the provided algorithm for the original file. The c [...]
+ "checksumFileAlgorithm": { "index": 35, "kind": "parameter",
"displayName": "Checksum File Algorithm", "group": "producer", "label":
"producer", "required": false, "type": "string", "javaType":
"java.lang.String", "enum": [ "MD2", "MD5", "SHA_1", "SHA_224", "SHA_256",
"SHA_384", "SHA_512", "SHA_512_224", "SHA_512_256", "SHA3_224", "SHA3_256",
"SHA3_384", "SHA3_512" ], "deprecated": false, "autowired": false, "secret":
false, "description": "If provided, then Camel will write a checks [...]
"fileExist": { "index": 36, "kind": "parameter", "displayName": "File
Exist", "group": "producer", "label": "producer", "required": false, "type":
"object", "javaType": "org.apache.camel.component.file.GenericFileExist",
"enum": [ "Override", "Append", "Fail", "Ignore", "Move", "TryRename" ],
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
"Override", "description": "What to do if a file already exists with the same
name. Override, which is the default, repl [...]
"flatten": { "index": 37, "kind": "parameter", "displayName": "Flatten",
"group": "producer", "label": "producer", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": false, "description": "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 [...]
"jailStartingDirectory": { "index": 38, "kind": "parameter",
"displayName": "Jail Starting Directory", "group": "producer", "label":
"producer", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "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 sec [...]
diff --git
a/components/camel-ftp/src/generated/resources/org/apache/camel/component/file/remote/ftps.json
b/components/camel-ftp/src/generated/resources/org/apache/camel/component/file/remote/ftps.json
index 65ba93938ca..cdf4b7f812e 100644
---
a/components/camel-ftp/src/generated/resources/org/apache/camel/component/file/remote/ftps.json
+++
b/components/camel-ftp/src/generated/resources/org/apache/camel/component/file/remote/ftps.json
@@ -78,7 +78,7 @@
"pollStrategy": { "index": 32, "kind": "parameter", "displayName": "Poll
Strategy", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "object", "javaType":
"org.apache.camel.spi.PollingConsumerPollStrategy", "deprecated": false,
"autowired": false, "secret": false, "description": "A pluggable
org.apache.camel.PollingConsumerPollingStrategy allowing you to provide your
custom implementation to control error handling usually occurred during the po
[...]
"processStrategy": { "index": 33, "kind": "parameter", "displayName":
"Process Strategy", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "object", "javaType":
"org.apache.camel.component.file.GenericFileProcessStrategy<org.apache.commons.net.ftp.FTPFile>",
"deprecated": false, "autowired": false, "secret": false, "description": "A
pluggable org.apache.camel.component.file.GenericFileProcessStrategy allowing
you to implement your own readLock [...]
"useList": { "index": 34, "kind": "parameter", "displayName": "Use List",
"group": "consumer (advanced)", "label": "consumer,advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true,
"configurationClass":
"org.apache.camel.component.file.remote.FtpsConfiguration",
"configurationField": "configuration", "description": "Whether to allow using
LIST command when downloading a file. Default is tr [...]
- "checksumFileAlgorithm": { "index": 35, "kind": "parameter",
"displayName": "Checksum File Algorithm", "group": "producer", "label":
"producer", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "If provided, then Camel will write a checksum file when the
original file has been written. The checksum file will contain the checksum
created with the provided algorithm for the original file. The c [...]
+ "checksumFileAlgorithm": { "index": 35, "kind": "parameter",
"displayName": "Checksum File Algorithm", "group": "producer", "label":
"producer", "required": false, "type": "string", "javaType":
"java.lang.String", "enum": [ "MD2", "MD5", "SHA_1", "SHA_224", "SHA_256",
"SHA_384", "SHA_512", "SHA_512_224", "SHA_512_256", "SHA3_224", "SHA3_256",
"SHA3_384", "SHA3_512" ], "deprecated": false, "autowired": false, "secret":
false, "description": "If provided, then Camel will write a checks [...]
"fileExist": { "index": 36, "kind": "parameter", "displayName": "File
Exist", "group": "producer", "label": "producer", "required": false, "type":
"object", "javaType": "org.apache.camel.component.file.GenericFileExist",
"enum": [ "Override", "Append", "Fail", "Ignore", "Move", "TryRename" ],
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
"Override", "description": "What to do if a file already exists with the same
name. Override, which is the default, repl [...]
"flatten": { "index": 37, "kind": "parameter", "displayName": "Flatten",
"group": "producer", "label": "producer", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": false, "description": "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 [...]
"jailStartingDirectory": { "index": 38, "kind": "parameter",
"displayName": "Jail Starting Directory", "group": "producer", "label":
"producer", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "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 sec [...]
diff --git
a/components/camel-ftp/src/generated/resources/org/apache/camel/component/file/remote/sftp.json
b/components/camel-ftp/src/generated/resources/org/apache/camel/component/file/remote/sftp.json
index 5fa1879c999..9b20f427d71 100644
---
a/components/camel-ftp/src/generated/resources/org/apache/camel/component/file/remote/sftp.json
+++
b/components/camel-ftp/src/generated/resources/org/apache/camel/component/file/remote/sftp.json
@@ -72,7 +72,7 @@
"pollStrategy": { "index": 28, "kind": "parameter", "displayName": "Poll
Strategy", "group": "consumer (advanced)", "label": "consumer,advanced",
"required": false, "type": "object", "javaType":
"org.apache.camel.spi.PollingConsumerPollStrategy", "deprecated": false,
"autowired": false, "secret": false, "description": "A pluggable
org.apache.camel.PollingConsumerPollingStrategy allowing you to provide your
custom implementation to control error handling usually occurred during the po
[...]
"processStrategy": { "index": 29, "kind": "parameter", "displayName":
"Process Strategy", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "object", "javaType":
"org.apache.camel.component.file.GenericFileProcessStrategy<org.apache.camel.component.file.remote.SftpRemoteFile>",
"deprecated": false, "autowired": false, "secret": false, "description": "A
pluggable org.apache.camel.component.file.GenericFileProcessStrategy allowing
you to implement [...]
"useList": { "index": 30, "kind": "parameter", "displayName": "Use List",
"group": "consumer (advanced)", "label": "consumer,advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true,
"configurationClass":
"org.apache.camel.component.file.remote.SftpConfiguration",
"configurationField": "configuration", "description": "Whether to allow using
LIST command when downloading a file. Default is tr [...]
- "checksumFileAlgorithm": { "index": 31, "kind": "parameter",
"displayName": "Checksum File Algorithm", "group": "producer", "label":
"producer", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "If provided, then Camel will write a checksum file when the
original file has been written. The checksum file will contain the checksum
created with the provided algorithm for the original file. The c [...]
+ "checksumFileAlgorithm": { "index": 31, "kind": "parameter",
"displayName": "Checksum File Algorithm", "group": "producer", "label":
"producer", "required": false, "type": "string", "javaType":
"java.lang.String", "enum": [ "MD2", "MD5", "SHA_1", "SHA_224", "SHA_256",
"SHA_384", "SHA_512", "SHA_512_224", "SHA_512_256", "SHA3_224", "SHA3_256",
"SHA3_384", "SHA3_512" ], "deprecated": false, "autowired": false, "secret":
false, "description": "If provided, then Camel will write a checks [...]
"fileExist": { "index": 32, "kind": "parameter", "displayName": "File
Exist", "group": "producer", "label": "producer", "required": false, "type":
"object", "javaType": "org.apache.camel.component.file.GenericFileExist",
"enum": [ "Override", "Append", "Fail", "Ignore", "Move", "TryRename" ],
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
"Override", "description": "What to do if a file already exists with the same
name. Override, which is the default, repl [...]
"flatten": { "index": 33, "kind": "parameter", "displayName": "Flatten",
"group": "producer", "label": "producer", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": false, "description": "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 [...]
"jailStartingDirectory": { "index": 34, "kind": "parameter",
"displayName": "Jail Starting Directory", "group": "producer", "label":
"producer", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "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 sec [...]
diff --git
a/components/camel-jsch/src/generated/resources/org/apache/camel/component/scp/scp.json
b/components/camel-jsch/src/generated/resources/org/apache/camel/component/scp/scp.json
index 4742d76ff6c..4baf94f8f34 100644
---
a/components/camel-jsch/src/generated/resources/org/apache/camel/component/scp/scp.json
+++
b/components/camel-jsch/src/generated/resources/org/apache/camel/component/scp/scp.json
@@ -34,7 +34,7 @@
"directoryName": { "index": 2, "kind": "path", "displayName": "Directory
Name", "group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.scp.ScpConfiguration", "configurationField":
"configuration", "description": "The starting directory" },
"chmod": { "index": 3, "kind": "parameter", "displayName": "Chmod",
"group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "664", "configurationClass":
"org.apache.camel.component.scp.ScpConfiguration", "configurationField":
"configuration", "description": "Allows you to set chmod on the stored file.
For example chmod=664." },
"disconnect": { "index": 4, "kind": "parameter", "displayName":
"Disconnect", "group": "common", "label": "common", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "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 th [...]
- "checksumFileAlgorithm": { "index": 5, "kind": "parameter", "displayName":
"Checksum File Algorithm", "group": "producer", "label": "producer",
"required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "If
provided, then Camel will write a checksum file when the original file has been
written. The checksum file will contain the checksum created with the provided
algorithm for the original file. The ch [...]
+ "checksumFileAlgorithm": { "index": 5, "kind": "parameter", "displayName":
"Checksum File Algorithm", "group": "producer", "label": "producer",
"required": false, "type": "string", "javaType": "java.lang.String", "enum": [
"MD2", "MD5", "SHA_1", "SHA_224", "SHA_256", "SHA_384", "SHA_512",
"SHA_512_224", "SHA_512_256", "SHA3_224", "SHA3_256", "SHA3_384", "SHA3_512" ],
"deprecated": false, "autowired": false, "secret": false, "description": "If
provided, then Camel will write a checksu [...]
"fileName": { "index": 6, "kind": "parameter", "displayName": "File Name",
"group": "producer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "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 CamelF [...]
"flatten": { "index": 7, "kind": "parameter", "displayName": "Flatten",
"group": "producer", "label": "producer", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": false, "description": "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 [...]
"jailStartingDirectory": { "index": 8, "kind": "parameter", "displayName":
"Jail Starting Directory", "group": "producer", "label": "producer",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": true,
"description": "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 secu [...]
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/AWSConfigEndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/AWSConfigEndpointBuilderFactory.java
index cf1726ac549..466ba85f206 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/AWSConfigEndpointBuilderFactory.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/AWSConfigEndpointBuilderFactory.java
@@ -614,6 +614,47 @@ public interface AWSConfigEndpointBuilderFactory {
public String awsConfigRuleName() {
return "CamelAwsConfigRuleName";
}
+
+ /**
+ * The Conformance pack name.
+ *
+ * The option is a: {@code String} type.
+ *
+ * Group: producer
+ *
+ * @return the name of the header {@code AwsConformancePackName}.
+ */
+ public String awsConformancePackName() {
+ return "CamelAwsConformancePackName";
+ }
+
+ /**
+ * The location of the file containing the template body in S3.
+ *
+ * The option is a: {@code String} type.
+ *
+ * Group: producer
+ *
+ * @return the name of the header {@code
+ * AwsConfigConformacePackS3TemplateURI}.
+ */
+ public String awsConfigConformacePackS3TemplateURI() {
+ return "CamelAwsConfigConformacePackS3TemplateURI";
+ }
+
+ /**
+ * A string containing the full conformance pack template body.
+ *
+ * The option is a: {@code String} type.
+ *
+ * Group: producer
+ *
+ * @return the name of the header {@code
+ * AwsConfigConformacePackTemplateBody}.
+ */
+ public String awsConfigConformacePackTemplateBody() {
+ return "CamelAwsConfigConformacePackTemplateBody";
+ }
}
static AWSConfigEndpointBuilder endpointBuilder(
String componentName,
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/FileEndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/FileEndpointBuilderFactory.java
index ed86119c580..e49ba826322 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/FileEndpointBuilderFactory.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/FileEndpointBuilderFactory.java
@@ -2845,6 +2845,25 @@ public interface FileEndpointBuilderFactory {
doSetProperty("appendChars", appendChars);
return this;
}
+ /**
+ * If provided, then Camel will write a checksum file when the original
+ * file has been written. The checksum file will contain the checksum
+ * created with the provided algorithm for the original file. The
+ * checksum file will always be written in the same folder as the
+ * original file.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: producer
+ *
+ * @param checksumFileAlgorithm the value to set
+ * @return the dsl builder
+ */
+ default FileEndpointProducerBuilder checksumFileAlgorithm(
+ String checksumFileAlgorithm) {
+ doSetProperty("checksumFileAlgorithm", checksumFileAlgorithm);
+ return this;
+ }
/**
* What to do if a file already exists with the same name. Override,
* which is the default, replaces the existing file. - Append - adds
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/FilesEndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/FilesEndpointBuilderFactory.java
index eca7f72f127..28379c8e54a 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/FilesEndpointBuilderFactory.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/FilesEndpointBuilderFactory.java
@@ -2784,6 +2784,25 @@ public interface FilesEndpointBuilderFactory {
doSetProperty("fileName", fileName);
return this;
}
+ /**
+ * If provided, then Camel will write a checksum file when the original
+ * file has been written. The checksum file will contain the checksum
+ * created with the provided algorithm for the original file. The
+ * checksum file will always be written in the same folder as the
+ * original file.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: producer
+ *
+ * @param checksumFileAlgorithm the value to set
+ * @return the dsl builder
+ */
+ default FilesEndpointProducerBuilder checksumFileAlgorithm(
+ String checksumFileAlgorithm) {
+ doSetProperty("checksumFileAlgorithm", checksumFileAlgorithm);
+ return this;
+ }
/**
* What to do if a file already exists with the same name. Override,
* which is the default, replaces the existing file. - Append - adds
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/FtpEndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/FtpEndpointBuilderFactory.java
index aeecd1a9c41..7536e0e6978 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/FtpEndpointBuilderFactory.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/FtpEndpointBuilderFactory.java
@@ -3561,6 +3561,25 @@ public interface FtpEndpointBuilderFactory {
doSetProperty("transferLoggingVerbose", transferLoggingVerbose);
return this;
}
+ /**
+ * If provided, then Camel will write a checksum file when the original
+ * file has been written. The checksum file will contain the checksum
+ * created with the provided algorithm for the original file. The
+ * checksum file will always be written in the same folder as the
+ * original file.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: producer
+ *
+ * @param checksumFileAlgorithm the value to set
+ * @return the dsl builder
+ */
+ default FtpEndpointProducerBuilder checksumFileAlgorithm(
+ String checksumFileAlgorithm) {
+ doSetProperty("checksumFileAlgorithm", checksumFileAlgorithm);
+ return this;
+ }
/**
* What to do if a file already exists with the same name. Override,
* which is the default, replaces the existing file. - Append - adds
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/FtpsEndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/FtpsEndpointBuilderFactory.java
index 3f4232698b8..94c42f7dc84 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/FtpsEndpointBuilderFactory.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/FtpsEndpointBuilderFactory.java
@@ -3815,6 +3815,25 @@ public interface FtpsEndpointBuilderFactory {
doSetProperty("transferLoggingVerbose", transferLoggingVerbose);
return this;
}
+ /**
+ * If provided, then Camel will write a checksum file when the original
+ * file has been written. The checksum file will contain the checksum
+ * created with the provided algorithm for the original file. The
+ * checksum file will always be written in the same folder as the
+ * original file.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: producer
+ *
+ * @param checksumFileAlgorithm the value to set
+ * @return the dsl builder
+ */
+ default FtpsEndpointProducerBuilder checksumFileAlgorithm(
+ String checksumFileAlgorithm) {
+ doSetProperty("checksumFileAlgorithm", checksumFileAlgorithm);
+ return this;
+ }
/**
* What to do if a file already exists with the same name. Override,
* which is the default, replaces the existing file. - Append - adds
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ScpEndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ScpEndpointBuilderFactory.java
index 6df0a57d7b5..c30791ee039 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ScpEndpointBuilderFactory.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ScpEndpointBuilderFactory.java
@@ -93,6 +93,25 @@ public interface ScpEndpointBuilderFactory {
doSetProperty("disconnect", disconnect);
return this;
}
+ /**
+ * If provided, then Camel will write a checksum file when the original
+ * file has been written. The checksum file will contain the checksum
+ * created with the provided algorithm for the original file. The
+ * checksum file will always be written in the same folder as the
+ * original file.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: producer
+ *
+ * @param checksumFileAlgorithm the value to set
+ * @return the dsl builder
+ */
+ default ScpEndpointBuilder checksumFileAlgorithm(
+ String checksumFileAlgorithm) {
+ doSetProperty("checksumFileAlgorithm", checksumFileAlgorithm);
+ return this;
+ }
/**
* Use Expression such as File Language to dynamically set the
filename.
* For consumers, it's used as a filename filter. For producers, it's
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SftpEndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SftpEndpointBuilderFactory.java
index 7e2de2f2774..01ac3024c81 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SftpEndpointBuilderFactory.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SftpEndpointBuilderFactory.java
@@ -3828,6 +3828,25 @@ public interface SftpEndpointBuilderFactory {
doSetProperty("separator", separator);
return this;
}
+ /**
+ * If provided, then Camel will write a checksum file when the original
+ * file has been written. The checksum file will contain the checksum
+ * created with the provided algorithm for the original file. The
+ * checksum file will always be written in the same folder as the
+ * original file.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: producer
+ *
+ * @param checksumFileAlgorithm the value to set
+ * @return the dsl builder
+ */
+ default SftpEndpointProducerBuilder checksumFileAlgorithm(
+ String checksumFileAlgorithm) {
+ doSetProperty("checksumFileAlgorithm", checksumFileAlgorithm);
+ return this;
+ }
/**
* What to do if a file already exists with the same name. Override,
* which is the default, replaces the existing file. - Append - adds