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 5e94d965dbf CAMEL-19279: Polished
5e94d965dbf is described below
commit 5e94d965dbfec7c65f6975c4354792a64d106208
Author: Claus Ibsen <[email protected]>
AuthorDate: Wed Jul 5 21:24:40 2023 +0200
CAMEL-19279: Polished
---
.../camel/catalog/components/azure-files.json | 118 ++++++++++-----------
components/camel-azure/camel-azure-files/pom.xml | 7 +-
.../file/azure/FilesEndpointUriFactory.java | 2 +-
.../camel/component/file/azure/azure-files.json | 118 ++++++++++-----------
.../src/main/docs/azure-files-component.adoc | 4 +-
.../camel/component/file/azure/FilesEndpoint.java | 10 +-
.../camel/component/file/azure/FilesToken.java | 41 ++++---
7 files changed, 148 insertions(+), 152 deletions(-)
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-files.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-files.json
index c92e8bfa11c..776bd197ca3 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-files.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-files.json
@@ -6,16 +6,16 @@
"description": "Camel Azure Files Component",
"deprecated": false,
"deprecationNote": "",
- "firstVersion": "3.21.0",
+ "firstVersion": "3.22.0",
"label": "cloud,file",
"javaType": "org.apache.camel.component.file.azure.FilesComponent",
- "supportLevel": "Stable",
+ "supportLevel": "Preview",
"groupId": "org.apache.camel",
"artifactId": "camel-azure-files",
"version": "4.0.0-SNAPSHOT",
"scheme": "azure-files",
"extendsScheme": "file",
- "syntax": "azure-files:\/\/account\/share",
+ "syntax": "azure-files:account\/share",
"async": false,
"api": false,
"consumerOnly": false,
@@ -80,62 +80,62 @@
"reconnectDelay": { "index": 39, "kind": "parameter", "displayName":
"Reconnect Delay", "group": "advanced", "label": "advanced", "required": false,
"type": "duration", "javaType": "long", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": "1000", "description": "Delay in millis
Camel will wait before performing a reconnect attempt." },
"throwExceptionOnConnectFailed": { "index": 40, "kind": "parameter",
"displayName": "Throw Exception On Connect Failed", "group": "advanced",
"label": "advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "configurationClass":
"org.apache.camel.component.file.azure.FilesConfiguration",
"configurationField": "configuration", "description": "Should an exception be
thrown if connection fa [...]
"timeout": { "index": 41, "kind": "parameter", "displayName": "Timeout",
"group": "advanced", "label": "advanced", "required": false, "type":
"duration", "javaType": "int", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "30000", "configurationClass":
"org.apache.camel.component.file.azure.FilesConfiguration",
"configurationField": "configuration", "description": "Sets the data timeout
for waiting for reply Used only by FTPClient" },
- "sdd": { "index": 42, "kind": "parameter", "displayName": "Sdd", "group":
"both", "label": "both", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": true,
"configurationClass": "org.apache.camel.component.file.azure.FilesToken",
"configurationField": "token", "description": "part of service SAS token" },
- "se": { "index": 43, "kind": "parameter", "displayName": "Se", "group":
"both", "label": "both", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": true,
"configurationClass": "org.apache.camel.component.file.azure.FilesToken",
"configurationField": "token", "description": "part of SAS token" },
- "sharedKey": { "index": 44, "kind": "parameter", "displayName": "Shared
Key", "group": "both", "label": "both", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.file.azure.FilesConfiguration",
"configurationField": "configuration", "description": "Shared key (storage
account key)" },
- "si": { "index": 45, "kind": "parameter", "displayName": "Si", "group":
"both", "label": "both", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": true,
"configurationClass": "org.apache.camel.component.file.azure.FilesToken",
"configurationField": "token", "description": "part of service SAS token" },
- "sig": { "index": 46, "kind": "parameter", "displayName": "Sig", "group":
"both", "label": "both", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": true,
"configurationClass": "org.apache.camel.component.file.azure.FilesToken",
"configurationField": "token", "description": "part of SAS token" },
- "sip": { "index": 47, "kind": "parameter", "displayName": "Sip", "group":
"both", "label": "both", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": true,
"configurationClass": "org.apache.camel.component.file.azure.FilesToken",
"configurationField": "token", "description": "part of SAS token" },
- "sp": { "index": 48, "kind": "parameter", "displayName": "Sp", "group":
"both", "label": "both", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": true,
"configurationClass": "org.apache.camel.component.file.azure.FilesToken",
"configurationField": "token", "description": "part of SAS token" },
- "spr": { "index": 49, "kind": "parameter", "displayName": "Spr", "group":
"both", "label": "both", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": true,
"configurationClass": "org.apache.camel.component.file.azure.FilesToken",
"configurationField": "token", "description": "part of SAS token" },
- "sr": { "index": 50, "kind": "parameter", "displayName": "Sr", "group":
"both", "label": "both", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": true,
"configurationClass": "org.apache.camel.component.file.azure.FilesToken",
"configurationField": "token", "description": "part of service SAS token" },
- "srt": { "index": 51, "kind": "parameter", "displayName": "Srt", "group":
"both", "label": "both", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": true,
"configurationClass": "org.apache.camel.component.file.azure.FilesToken",
"configurationField": "token", "description": "part of SAS token" },
- "ss": { "index": 52, "kind": "parameter", "displayName": "Ss", "group":
"both", "label": "both", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": true,
"configurationClass": "org.apache.camel.component.file.azure.FilesToken",
"configurationField": "token", "description": "part of account SAS token" },
- "st": { "index": 53, "kind": "parameter", "displayName": "St", "group":
"both", "label": "both", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": true,
"configurationClass": "org.apache.camel.component.file.azure.FilesToken",
"configurationField": "token", "description": "part of SAS token" },
- "sv": { "index": 54, "kind": "parameter", "displayName": "Sv", "group":
"both", "label": "both", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": true,
"configurationClass": "org.apache.camel.component.file.azure.FilesToken",
"configurationField": "token", "description": "part of SAS token" },
- "antExclude": { "index": 55, "kind": "parameter", "displayName": "Ant
Exclude", "group": "filter", "label": "consumer,filter", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "Ant style filter
exclusion. If both antInclude and antExclude are used, antExclude takes
precedence over antInclude. Multiple exclusions may be specified in
comma-delimited format." },
- "antFilterCaseSensitive": { "index": 56, "kind": "parameter",
"displayName": "Ant Filter Case Sensitive", "group": "filter", "label":
"consumer,filter", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Sets case sensitive flag on ant filter." },
- "antInclude": { "index": 57, "kind": "parameter", "displayName": "Ant
Include", "group": "filter", "label": "consumer,filter", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "Ant style filter
inclusion. Multiple inclusions may be specified in comma-delimited format." },
- "eagerMaxMessagesPerPoll": { "index": 58, "kind": "parameter",
"displayName": "Eager Max Messages Per Poll", "group": "filter", "label":
"consumer,filter", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Allows for controlling whether the limit from
maxMessagesPerPoll is eager or not. If eager then the limit is during the
scanning of files. Where as false would scan all files, [...]
- "exclude": { "index": 59, "kind": "parameter", "displayName": "Exclude",
"group": "filter", "label": "consumer,filter", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "Is used to exclude files, if filename
matches the regex pattern (matching is case in-sensitive). Notice if you use
symbols such as plus sign and others you would need to configure this using the
RAW() syntax if configuring th [...]
- "excludeExt": { "index": 60, "kind": "parameter", "displayName": "Exclude
Ext", "group": "filter", "label": "consumer,filter", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "Is used to exclude files matching file
extension name (case insensitive). For example to exclude bak files, then use
excludeExt=bak. Multiple extensions can be separated by comma, for example to
exclude bak and dat fil [...]
- "filter": { "index": 61, "kind": "parameter", "displayName": "Filter",
"group": "filter", "label": "consumer,filter", "required": false, "type":
"object", "javaType":
"org.apache.camel.component.file.GenericFileFilter<com.azure.storage.file.share.models.ShareFileItem>",
"deprecated": false, "autowired": false, "secret": false, "description":
"Pluggable filter as a org.apache.camel.component.file.GenericFileFilter class.
Will skip files if filter returns false in its accept() method." },
- "filterDirectory": { "index": 62, "kind": "parameter", "displayName":
"Filter Directory", "group": "filter", "label": "consumer,filter", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "Filters the directory
based on Simple language. For example to filter on current date, you can use a
simple date pattern such as ${date:now:yyyMMdd}" },
- "filterFile": { "index": 63, "kind": "parameter", "displayName": "Filter
File", "group": "filter", "label": "consumer,filter", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "Filters the file based on
Simple language. For example to filter on file size, you can use ${file:size}
5000" },
- "idempotent": { "index": 64, "kind": "parameter", "displayName":
"Idempotent", "group": "filter", "label": "consumer,filter", "required": false,
"type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": "false", "description":
"Option to use the Idempotent Consumer EIP pattern to let Camel skip already
processed files. Will by default use a memory based LRUCache that holds 1000
entries. If noop=true then idempotent w [...]
- "idempotentKey": { "index": 65, "kind": "parameter", "displayName":
"Idempotent Key", "group": "filter", "label": "consumer,filter", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "To use a custom idempotent
key. By default the absolute path of the file is used. You can use the File
Language, for example to use the file name and file size, you can do:
idempotentKey=${file:name}-${file:size}" },
- "idempotentRepository": { "index": 66, "kind": "parameter", "displayName":
"Idempotent Repository", "group": "filter", "label": "consumer,filter",
"required": false, "type": "object", "javaType":
"org.apache.camel.spi.IdempotentRepository", "deprecated": false, "autowired":
false, "secret": false, "description": "A pluggable repository
org.apache.camel.spi.IdempotentRepository which by default use
MemoryIdempotentRepository if none is specified and idempotent is true." },
- "include": { "index": 67, "kind": "parameter", "displayName": "Include",
"group": "filter", "label": "consumer,filter", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "Is used to include files, if filename
matches the regex pattern (matching is case in-sensitive). Notice if you use
symbols such as plus sign and others you would need to configure this using the
RAW() syntax if configuring th [...]
- "includeExt": { "index": 68, "kind": "parameter", "displayName": "Include
Ext", "group": "filter", "label": "consumer,filter", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "Is used to include files matching file
extension name (case insensitive). For example to include txt files, then use
includeExt=txt. Multiple extensions can be separated by comma, for example to
include txt and xml fil [...]
- "maxDepth": { "index": 69, "kind": "parameter", "displayName": "Max
Depth", "group": "filter", "label": "consumer,filter", "required": false,
"type": "integer", "javaType": "int", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": 2147483647, "description": "The maximum depth
to traverse when recursively processing a directory." },
- "maxMessagesPerPoll": { "index": 70, "kind": "parameter", "displayName":
"Max Messages Per Poll", "group": "filter", "label": "consumer,filter",
"required": false, "type": "integer", "javaType": "int", "deprecated": false,
"autowired": false, "secret": false, "description": "To define a maximum
messages to gather per poll. By default no maximum is set. Can be used to set a
limit of e.g. 1000 to avoid when starting up the server that there are
thousands of files. Set a value of 0 or n [...]
- "minDepth": { "index": 71, "kind": "parameter", "displayName": "Min
Depth", "group": "filter", "label": "consumer,filter", "required": false,
"type": "integer", "javaType": "int", "deprecated": false, "autowired": false,
"secret": false, "description": "The minimum depth to start processing when
recursively processing a directory. Using minDepth=1 means the base directory.
Using minDepth=2 means the first sub directory." },
- "move": { "index": 72, "kind": "parameter", "displayName": "Move",
"group": "filter", "label": "consumer,filter", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "Expression (such as Simple Language)
used to dynamically set the filename when moving it after processing. To move
files into a .done subdirectory just enter .done." },
- "exclusiveReadLockStrategy": { "index": 73, "kind": "parameter",
"displayName": "Exclusive Read Lock Strategy", "group": "lock", "label":
"consumer,lock", "required": false, "type": "object", "javaType":
"org.apache.camel.component.file.GenericFileExclusiveReadLockStrategy<com.azure.storage.file.share.models.ShareFileItem>",
"deprecated": false, "autowired": false, "secret": false, "description":
"Pluggable read-lock as a
org.apache.camel.component.file.GenericFileExclusiveReadLockSt [...]
- "readLock": { "index": 74, "kind": "parameter", "displayName": "Read
Lock", "group": "lock", "label": "consumer,lock", "required": false, "type":
"string", "javaType": "java.lang.String", "enum": [ "none", "markerFile",
"fileLock", "rename", "changed", "idempotent", "idempotent-changed",
"idempotent-rename" ], "deprecated": false, "autowired": false, "secret":
false, "defaultValue": "none", "description": "Used by consumer, to only poll
the files if it has exclusive read-lock on the [...]
- "readLockCheckInterval": { "index": 75, "kind": "parameter",
"displayName": "Read Lock Check Interval", "group": "lock", "label":
"consumer,lock", "required": false, "type": "integer", "javaType": "long",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": 1000,
"description": "Interval in millis for the read-lock, if supported by the read
lock. This interval is used for sleeping between attempts to acquire the read
lock. For example when using the changed read [...]
- "readLockDeleteOrphanLockFiles": { "index": 76, "kind": "parameter",
"displayName": "Read Lock Delete Orphan Lock Files", "group": "lock", "label":
"consumer,lock", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Whether or not read lock with marker files should upon startup
delete any orphan read lock files, which may have been left on the file system,
if Camel was not proper [...]
- "readLockLoggingLevel": { "index": 77, "kind": "parameter", "displayName":
"Read Lock Logging Level", "group": "lock", "label": "consumer,lock",
"required": false, "type": "object", "javaType":
"org.apache.camel.LoggingLevel", "enum": [ "TRACE", "DEBUG", "INFO", "WARN",
"ERROR", "OFF" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "DEBUG", "description": "Logging level used when a read lock
could not be acquired. By default a DEBUG is logged. You can cha [...]
- "readLockMarkerFile": { "index": 78, "kind": "parameter", "displayName":
"Read Lock Marker File", "group": "lock", "label": "consumer,lock", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description":
"Whether to use marker file with the changed, rename, or exclusive read lock
types. By default a marker file is used as well to guard against other
processes picking up the same files. This b [...]
- "readLockMinAge": { "index": 79, "kind": "parameter", "displayName": "Read
Lock Min Age", "group": "lock", "label": "consumer,lock", "required": false,
"type": "integer", "javaType": "long", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": 0, "description": "This option is applied only
for readLock=changed. It allows to specify a minimum age the file must be
before attempting to acquire the read lock. For example use readLockMinAge=300s
to require the file is [...]
- "readLockMinLength": { "index": 80, "kind": "parameter", "displayName":
"Read Lock Min Length", "group": "lock", "label": "consumer,lock", "required":
false, "type": "integer", "javaType": "long", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": 1, "description": "This option is
applied only for readLock=changed. It allows you to configure a minimum file
length. By default Camel expects the file to contain data, and thus the default
value is 1. You can set th [...]
- "readLockRemoveOnCommit": { "index": 81, "kind": "parameter",
"displayName": "Read Lock Remove On Commit", "group": "lock", "label":
"consumer,lock", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "description": "This option is applied only for readLock=idempotent. It
allows to specify whether to remove the file name entry from the idempotent
repository when processing the file is succeeded [...]
- "readLockRemoveOnRollback": { "index": 82, "kind": "parameter",
"displayName": "Read Lock Remove On Rollback", "group": "lock", "label":
"consumer,lock", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "This option is applied only for readLock=idempotent. It allows
to specify whether to remove the file name entry from the idempotent repository
when processing the file failed an [...]
- "readLockTimeout": { "index": 83, "kind": "parameter", "displayName":
"Read Lock Timeout", "group": "lock", "label": "consumer,lock", "required":
false, "type": "integer", "javaType": "long", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": 10000, "description": "Optional timeout
in millis for the read-lock, if supported by the read-lock. If the read-lock
could not be granted and the timeout triggered, then Camel will skip the file.
At next poll Camel, will t [...]
- "backoffErrorThreshold": { "index": 84, "kind": "parameter",
"displayName": "Backoff Error Threshold", "group": "scheduler", "label":
"consumer,scheduler", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "description": "The
number of subsequent error polls (failed due some error) that should happen
before the backoffMultipler should kick-in." },
- "backoffIdleThreshold": { "index": 85, "kind": "parameter", "displayName":
"Backoff Idle Threshold", "group": "scheduler", "label": "consumer,scheduler",
"required": false, "type": "integer", "javaType": "int", "deprecated": false,
"autowired": false, "secret": false, "description": "The number of subsequent
idle polls that should happen before the backoffMultipler should kick-in." },
- "backoffMultiplier": { "index": 86, "kind": "parameter", "displayName":
"Backoff Multiplier", "group": "scheduler", "label": "consumer,scheduler",
"required": false, "type": "integer", "javaType": "int", "deprecated": false,
"autowired": false, "secret": false, "description": "To let the scheduled
polling consumer backoff if there has been a number of subsequent idles\/errors
in a row. The multiplier is then the number of polls that will be skipped
before the next actual attempt is h [...]
- "delay": { "index": 87, "kind": "parameter", "displayName": "Delay",
"group": "scheduler", "label": "consumer,scheduler", "required": false, "type":
"integer", "javaType": "long", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": 500, "description": "Milliseconds before the
next poll." },
- "greedy": { "index": 88, "kind": "parameter", "displayName": "Greedy",
"group": "scheduler", "label": "consumer,scheduler", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "If greedy is enabled,
then the ScheduledPollConsumer will run immediately again, if the previous run
polled 1 or more messages." },
- "initialDelay": { "index": 89, "kind": "parameter", "displayName":
"Initial Delay", "group": "scheduler", "label": "consumer,scheduler",
"required": false, "type": "integer", "javaType": "long", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": 1000, "description":
"Milliseconds before the first poll starts." },
- "repeatCount": { "index": 90, "kind": "parameter", "displayName": "Repeat
Count", "group": "scheduler", "label": "consumer,scheduler", "required": false,
"type": "integer", "javaType": "long", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": 0, "description": "Specifies a maximum limit
of number of fires. So if you set it to 1, the scheduler will only fire once.
If you set it to 5, it will only fire five times. A value of zero or negative
means fire forever." },
- "runLoggingLevel": { "index": 91, "kind": "parameter", "displayName": "Run
Logging Level", "group": "scheduler", "label": "consumer,scheduler",
"required": false, "type": "object", "javaType":
"org.apache.camel.LoggingLevel", "enum": [ "TRACE", "DEBUG", "INFO", "WARN",
"ERROR", "OFF" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "TRACE", "description": "The consumer logs a start\/complete
log line when it polls. This option allows you to configure the l [...]
- "scheduledExecutorService": { "index": 92, "kind": "parameter",
"displayName": "Scheduled Executor Service", "group": "scheduler", "label":
"consumer,scheduler", "required": false, "type": "object", "javaType":
"java.util.concurrent.ScheduledExecutorService", "deprecated": false,
"autowired": false, "secret": false, "description": "Allows for configuring a
custom\/shared thread pool to use for the consumer. By default each consumer
has its own single threaded thread pool." },
- "scheduler": { "index": 93, "kind": "parameter", "displayName":
"Scheduler", "group": "scheduler", "label": "consumer,scheduler", "required":
false, "type": "object", "javaType": "java.lang.Object", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": "none", "description": "To
use a cron scheduler from either camel-spring or camel-quartz component. Use
value spring or quartz for built in scheduler" },
- "schedulerProperties": { "index": 94, "kind": "parameter", "displayName":
"Scheduler Properties", "group": "scheduler", "label": "consumer,scheduler",
"required": false, "type": "object", "javaType":
"java.util.Map<java.lang.String, java.lang.Object>", "prefix": "scheduler.",
"multiValue": true, "deprecated": false, "autowired": false, "secret": false,
"description": "To configure additional properties when using a custom
scheduler or any of the Quartz, Spring based scheduler." },
- "startScheduler": { "index": 95, "kind": "parameter", "displayName":
"Start Scheduler", "group": "scheduler", "label": "consumer,scheduler",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Whether the scheduler should be auto started." },
- "timeUnit": { "index": 96, "kind": "parameter", "displayName": "Time
Unit", "group": "scheduler", "label": "consumer,scheduler", "required": false,
"type": "object", "javaType": "java.util.concurrent.TimeUnit", "enum": [
"NANOSECONDS", "MICROSECONDS", "MILLISECONDS", "SECONDS", "MINUTES", "HOURS",
"DAYS" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "MILLISECONDS", "description": "Time unit for initialDelay and
delay options." },
- "useFixedDelay": { "index": 97, "kind": "parameter", "displayName": "Use
Fixed Delay", "group": "scheduler", "label": "consumer,scheduler", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description":
"Controls if fixed delay or fixed rate is used. See ScheduledExecutorService in
JDK for details." },
+ "sharedKey": { "index": 42, "kind": "parameter", "displayName": "Shared
Key", "group": "both", "label": "both", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.file.azure.FilesConfiguration",
"configurationField": "configuration", "description": "Shared key (storage
account key)" },
+ "antExclude": { "index": 43, "kind": "parameter", "displayName": "Ant
Exclude", "group": "filter", "label": "consumer,filter", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "Ant style filter
exclusion. If both antInclude and antExclude are used, antExclude takes
precedence over antInclude. Multiple exclusions may be specified in
comma-delimited format." },
+ "antFilterCaseSensitive": { "index": 44, "kind": "parameter",
"displayName": "Ant Filter Case Sensitive", "group": "filter", "label":
"consumer,filter", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Sets case sensitive flag on ant filter." },
+ "antInclude": { "index": 45, "kind": "parameter", "displayName": "Ant
Include", "group": "filter", "label": "consumer,filter", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "Ant style filter
inclusion. Multiple inclusions may be specified in comma-delimited format." },
+ "eagerMaxMessagesPerPoll": { "index": 46, "kind": "parameter",
"displayName": "Eager Max Messages Per Poll", "group": "filter", "label":
"consumer,filter", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Allows for controlling whether the limit from
maxMessagesPerPoll is eager or not. If eager then the limit is during the
scanning of files. Where as false would scan all files, [...]
+ "exclude": { "index": 47, "kind": "parameter", "displayName": "Exclude",
"group": "filter", "label": "consumer,filter", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "Is used to exclude files, if filename
matches the regex pattern (matching is case in-sensitive). Notice if you use
symbols such as plus sign and others you would need to configure this using the
RAW() syntax if configuring th [...]
+ "excludeExt": { "index": 48, "kind": "parameter", "displayName": "Exclude
Ext", "group": "filter", "label": "consumer,filter", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "Is used to exclude files matching file
extension name (case insensitive). For example to exclude bak files, then use
excludeExt=bak. Multiple extensions can be separated by comma, for example to
exclude bak and dat fil [...]
+ "filter": { "index": 49, "kind": "parameter", "displayName": "Filter",
"group": "filter", "label": "consumer,filter", "required": false, "type":
"object", "javaType":
"org.apache.camel.component.file.GenericFileFilter<com.azure.storage.file.share.models.ShareFileItem>",
"deprecated": false, "autowired": false, "secret": false, "description":
"Pluggable filter as a org.apache.camel.component.file.GenericFileFilter class.
Will skip files if filter returns false in its accept() method." },
+ "filterDirectory": { "index": 50, "kind": "parameter", "displayName":
"Filter Directory", "group": "filter", "label": "consumer,filter", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "Filters the directory
based on Simple language. For example to filter on current date, you can use a
simple date pattern such as ${date:now:yyyMMdd}" },
+ "filterFile": { "index": 51, "kind": "parameter", "displayName": "Filter
File", "group": "filter", "label": "consumer,filter", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "Filters the file based on
Simple language. For example to filter on file size, you can use ${file:size}
5000" },
+ "idempotent": { "index": 52, "kind": "parameter", "displayName":
"Idempotent", "group": "filter", "label": "consumer,filter", "required": false,
"type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": "false", "description":
"Option to use the Idempotent Consumer EIP pattern to let Camel skip already
processed files. Will by default use a memory based LRUCache that holds 1000
entries. If noop=true then idempotent w [...]
+ "idempotentKey": { "index": 53, "kind": "parameter", "displayName":
"Idempotent Key", "group": "filter", "label": "consumer,filter", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "To use a custom idempotent
key. By default the absolute path of the file is used. You can use the File
Language, for example to use the file name and file size, you can do:
idempotentKey=${file:name}-${file:size}" },
+ "idempotentRepository": { "index": 54, "kind": "parameter", "displayName":
"Idempotent Repository", "group": "filter", "label": "consumer,filter",
"required": false, "type": "object", "javaType":
"org.apache.camel.spi.IdempotentRepository", "deprecated": false, "autowired":
false, "secret": false, "description": "A pluggable repository
org.apache.camel.spi.IdempotentRepository which by default use
MemoryIdempotentRepository if none is specified and idempotent is true." },
+ "include": { "index": 55, "kind": "parameter", "displayName": "Include",
"group": "filter", "label": "consumer,filter", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "Is used to include files, if filename
matches the regex pattern (matching is case in-sensitive). Notice if you use
symbols such as plus sign and others you would need to configure this using the
RAW() syntax if configuring th [...]
+ "includeExt": { "index": 56, "kind": "parameter", "displayName": "Include
Ext", "group": "filter", "label": "consumer,filter", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "Is used to include files matching file
extension name (case insensitive). For example to include txt files, then use
includeExt=txt. Multiple extensions can be separated by comma, for example to
include txt and xml fil [...]
+ "maxDepth": { "index": 57, "kind": "parameter", "displayName": "Max
Depth", "group": "filter", "label": "consumer,filter", "required": false,
"type": "integer", "javaType": "int", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": 2147483647, "description": "The maximum depth
to traverse when recursively processing a directory." },
+ "maxMessagesPerPoll": { "index": 58, "kind": "parameter", "displayName":
"Max Messages Per Poll", "group": "filter", "label": "consumer,filter",
"required": false, "type": "integer", "javaType": "int", "deprecated": false,
"autowired": false, "secret": false, "description": "To define a maximum
messages to gather per poll. By default no maximum is set. Can be used to set a
limit of e.g. 1000 to avoid when starting up the server that there are
thousands of files. Set a value of 0 or n [...]
+ "minDepth": { "index": 59, "kind": "parameter", "displayName": "Min
Depth", "group": "filter", "label": "consumer,filter", "required": false,
"type": "integer", "javaType": "int", "deprecated": false, "autowired": false,
"secret": false, "description": "The minimum depth to start processing when
recursively processing a directory. Using minDepth=1 means the base directory.
Using minDepth=2 means the first sub directory." },
+ "move": { "index": 60, "kind": "parameter", "displayName": "Move",
"group": "filter", "label": "consumer,filter", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "Expression (such as Simple Language)
used to dynamically set the filename when moving it after processing. To move
files into a .done subdirectory just enter .done." },
+ "exclusiveReadLockStrategy": { "index": 61, "kind": "parameter",
"displayName": "Exclusive Read Lock Strategy", "group": "lock", "label":
"consumer,lock", "required": false, "type": "object", "javaType":
"org.apache.camel.component.file.GenericFileExclusiveReadLockStrategy<com.azure.storage.file.share.models.ShareFileItem>",
"deprecated": false, "autowired": false, "secret": false, "description":
"Pluggable read-lock as a
org.apache.camel.component.file.GenericFileExclusiveReadLockSt [...]
+ "readLock": { "index": 62, "kind": "parameter", "displayName": "Read
Lock", "group": "lock", "label": "consumer,lock", "required": false, "type":
"string", "javaType": "java.lang.String", "enum": [ "none", "markerFile",
"fileLock", "rename", "changed", "idempotent", "idempotent-changed",
"idempotent-rename" ], "deprecated": false, "autowired": false, "secret":
false, "defaultValue": "none", "description": "Used by consumer, to only poll
the files if it has exclusive read-lock on the [...]
+ "readLockCheckInterval": { "index": 63, "kind": "parameter",
"displayName": "Read Lock Check Interval", "group": "lock", "label":
"consumer,lock", "required": false, "type": "integer", "javaType": "long",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": 1000,
"description": "Interval in millis for the read-lock, if supported by the read
lock. This interval is used for sleeping between attempts to acquire the read
lock. For example when using the changed read [...]
+ "readLockDeleteOrphanLockFiles": { "index": 64, "kind": "parameter",
"displayName": "Read Lock Delete Orphan Lock Files", "group": "lock", "label":
"consumer,lock", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Whether or not read lock with marker files should upon startup
delete any orphan read lock files, which may have been left on the file system,
if Camel was not proper [...]
+ "readLockLoggingLevel": { "index": 65, "kind": "parameter", "displayName":
"Read Lock Logging Level", "group": "lock", "label": "consumer,lock",
"required": false, "type": "object", "javaType":
"org.apache.camel.LoggingLevel", "enum": [ "TRACE", "DEBUG", "INFO", "WARN",
"ERROR", "OFF" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "DEBUG", "description": "Logging level used when a read lock
could not be acquired. By default a DEBUG is logged. You can cha [...]
+ "readLockMarkerFile": { "index": 66, "kind": "parameter", "displayName":
"Read Lock Marker File", "group": "lock", "label": "consumer,lock", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description":
"Whether to use marker file with the changed, rename, or exclusive read lock
types. By default a marker file is used as well to guard against other
processes picking up the same files. This b [...]
+ "readLockMinAge": { "index": 67, "kind": "parameter", "displayName": "Read
Lock Min Age", "group": "lock", "label": "consumer,lock", "required": false,
"type": "integer", "javaType": "long", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": 0, "description": "This option is applied only
for readLock=changed. It allows to specify a minimum age the file must be
before attempting to acquire the read lock. For example use readLockMinAge=300s
to require the file is [...]
+ "readLockMinLength": { "index": 68, "kind": "parameter", "displayName":
"Read Lock Min Length", "group": "lock", "label": "consumer,lock", "required":
false, "type": "integer", "javaType": "long", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": 1, "description": "This option is
applied only for readLock=changed. It allows you to configure a minimum file
length. By default Camel expects the file to contain data, and thus the default
value is 1. You can set th [...]
+ "readLockRemoveOnCommit": { "index": 69, "kind": "parameter",
"displayName": "Read Lock Remove On Commit", "group": "lock", "label":
"consumer,lock", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "description": "This option is applied only for readLock=idempotent. It
allows to specify whether to remove the file name entry from the idempotent
repository when processing the file is succeeded [...]
+ "readLockRemoveOnRollback": { "index": 70, "kind": "parameter",
"displayName": "Read Lock Remove On Rollback", "group": "lock", "label":
"consumer,lock", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "This option is applied only for readLock=idempotent. It allows
to specify whether to remove the file name entry from the idempotent repository
when processing the file failed an [...]
+ "readLockTimeout": { "index": 71, "kind": "parameter", "displayName":
"Read Lock Timeout", "group": "lock", "label": "consumer,lock", "required":
false, "type": "integer", "javaType": "long", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": 10000, "description": "Optional timeout
in millis for the read-lock, if supported by the read-lock. If the read-lock
could not be granted and the timeout triggered, then Camel will skip the file.
At next poll Camel, will t [...]
+ "backoffErrorThreshold": { "index": 72, "kind": "parameter",
"displayName": "Backoff Error Threshold", "group": "scheduler", "label":
"consumer,scheduler", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "description": "The
number of subsequent error polls (failed due some error) that should happen
before the backoffMultipler should kick-in." },
+ "backoffIdleThreshold": { "index": 73, "kind": "parameter", "displayName":
"Backoff Idle Threshold", "group": "scheduler", "label": "consumer,scheduler",
"required": false, "type": "integer", "javaType": "int", "deprecated": false,
"autowired": false, "secret": false, "description": "The number of subsequent
idle polls that should happen before the backoffMultipler should kick-in." },
+ "backoffMultiplier": { "index": 74, "kind": "parameter", "displayName":
"Backoff Multiplier", "group": "scheduler", "label": "consumer,scheduler",
"required": false, "type": "integer", "javaType": "int", "deprecated": false,
"autowired": false, "secret": false, "description": "To let the scheduled
polling consumer backoff if there has been a number of subsequent idles\/errors
in a row. The multiplier is then the number of polls that will be skipped
before the next actual attempt is h [...]
+ "delay": { "index": 75, "kind": "parameter", "displayName": "Delay",
"group": "scheduler", "label": "consumer,scheduler", "required": false, "type":
"integer", "javaType": "long", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": 500, "description": "Milliseconds before the
next poll." },
+ "greedy": { "index": 76, "kind": "parameter", "displayName": "Greedy",
"group": "scheduler", "label": "consumer,scheduler", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "If greedy is enabled,
then the ScheduledPollConsumer will run immediately again, if the previous run
polled 1 or more messages." },
+ "initialDelay": { "index": 77, "kind": "parameter", "displayName":
"Initial Delay", "group": "scheduler", "label": "consumer,scheduler",
"required": false, "type": "integer", "javaType": "long", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": 1000, "description":
"Milliseconds before the first poll starts." },
+ "repeatCount": { "index": 78, "kind": "parameter", "displayName": "Repeat
Count", "group": "scheduler", "label": "consumer,scheduler", "required": false,
"type": "integer", "javaType": "long", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": 0, "description": "Specifies a maximum limit
of number of fires. So if you set it to 1, the scheduler will only fire once.
If you set it to 5, it will only fire five times. A value of zero or negative
means fire forever." },
+ "runLoggingLevel": { "index": 79, "kind": "parameter", "displayName": "Run
Logging Level", "group": "scheduler", "label": "consumer,scheduler",
"required": false, "type": "object", "javaType":
"org.apache.camel.LoggingLevel", "enum": [ "TRACE", "DEBUG", "INFO", "WARN",
"ERROR", "OFF" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "TRACE", "description": "The consumer logs a start\/complete
log line when it polls. This option allows you to configure the l [...]
+ "scheduledExecutorService": { "index": 80, "kind": "parameter",
"displayName": "Scheduled Executor Service", "group": "scheduler", "label":
"consumer,scheduler", "required": false, "type": "object", "javaType":
"java.util.concurrent.ScheduledExecutorService", "deprecated": false,
"autowired": false, "secret": false, "description": "Allows for configuring a
custom\/shared thread pool to use for the consumer. By default each consumer
has its own single threaded thread pool." },
+ "scheduler": { "index": 81, "kind": "parameter", "displayName":
"Scheduler", "group": "scheduler", "label": "consumer,scheduler", "required":
false, "type": "object", "javaType": "java.lang.Object", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": "none", "description": "To
use a cron scheduler from either camel-spring or camel-quartz component. Use
value spring or quartz for built in scheduler" },
+ "schedulerProperties": { "index": 82, "kind": "parameter", "displayName":
"Scheduler Properties", "group": "scheduler", "label": "consumer,scheduler",
"required": false, "type": "object", "javaType":
"java.util.Map<java.lang.String, java.lang.Object>", "prefix": "scheduler.",
"multiValue": true, "deprecated": false, "autowired": false, "secret": false,
"description": "To configure additional properties when using a custom
scheduler or any of the Quartz, Spring based scheduler." },
+ "startScheduler": { "index": 83, "kind": "parameter", "displayName":
"Start Scheduler", "group": "scheduler", "label": "consumer,scheduler",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Whether the scheduler should be auto started." },
+ "timeUnit": { "index": 84, "kind": "parameter", "displayName": "Time
Unit", "group": "scheduler", "label": "consumer,scheduler", "required": false,
"type": "object", "javaType": "java.util.concurrent.TimeUnit", "enum": [
"NANOSECONDS", "MICROSECONDS", "MILLISECONDS", "SECONDS", "MINUTES", "HOURS",
"DAYS" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "MILLISECONDS", "description": "Time unit for initialDelay and
delay options." },
+ "useFixedDelay": { "index": 85, "kind": "parameter", "displayName": "Use
Fixed Delay", "group": "scheduler", "label": "consumer,scheduler", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description":
"Controls if fixed delay or fixed rate is used. See ScheduledExecutorService in
JDK for details." },
+ "sdd": { "index": 86, "kind": "parameter", "displayName": "Sdd", "group":
"security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.file.azure.FilesToken", "configurationField":
"token", "description": "part of service SAS token" },
+ "se": { "index": 87, "kind": "parameter", "displayName": "Se", "group":
"security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.file.azure.FilesToken", "configurationField":
"token", "description": "part of SAS token" },
+ "si": { "index": 88, "kind": "parameter", "displayName": "Si", "group":
"security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.file.azure.FilesToken", "configurationField":
"token", "description": "part of service SAS token" },
+ "sig": { "index": 89, "kind": "parameter", "displayName": "Sig", "group":
"security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.file.azure.FilesToken", "configurationField":
"token", "description": "part of SAS token" },
+ "sip": { "index": 90, "kind": "parameter", "displayName": "Sip", "group":
"security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.file.azure.FilesToken", "configurationField":
"token", "description": "part of SAS token" },
+ "sp": { "index": 91, "kind": "parameter", "displayName": "Sp", "group":
"security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.file.azure.FilesToken", "configurationField":
"token", "description": "part of SAS token" },
+ "spr": { "index": 92, "kind": "parameter", "displayName": "Spr", "group":
"security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.file.azure.FilesToken", "configurationField":
"token", "description": "part of SAS token" },
+ "sr": { "index": 93, "kind": "parameter", "displayName": "Sr", "group":
"security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.file.azure.FilesToken", "configurationField":
"token", "description": "part of service SAS token" },
+ "srt": { "index": 94, "kind": "parameter", "displayName": "Srt", "group":
"security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.file.azure.FilesToken", "configurationField":
"token", "description": "part of SAS token" },
+ "ss": { "index": 95, "kind": "parameter", "displayName": "Ss", "group":
"security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.file.azure.FilesToken", "configurationField":
"token", "description": "part of account SAS token" },
+ "st": { "index": 96, "kind": "parameter", "displayName": "St", "group":
"security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.file.azure.FilesToken", "configurationField":
"token", "description": "part of SAS token" },
+ "sv": { "index": 97, "kind": "parameter", "displayName": "Sv", "group":
"security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.file.azure.FilesToken", "configurationField":
"token", "description": "part of SAS token" },
"shuffle": { "index": 98, "kind": "parameter", "displayName": "Shuffle",
"group": "sort", "label": "consumer,sort", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "To shuffle the list of
files (sort in random order)" },
"sortBy": { "index": 99, "kind": "parameter", "displayName": "Sort By",
"group": "sort", "label": "consumer,sort", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Built-in sort by using the File Language.
Supports nested sorts, so you can have a sort by file name and as a 2nd group
sort by modified date." },
"sorter": { "index": 100, "kind": "parameter", "displayName": "Sorter",
"group": "sort", "label": "consumer,sort", "required": false, "type": "object",
"javaType":
"java.util.Comparator<org.apache.camel.component.file.GenericFile<com.azure.storage.file.share.models.ShareFileItem>>",
"deprecated": false, "autowired": false, "secret": false, "description":
"Pluggable sorter as a java.util.Comparator class." }
diff --git a/components/camel-azure/camel-azure-files/pom.xml
b/components/camel-azure/camel-azure-files/pom.xml
index 448a8468a2f..af77cb6828b 100644
--- a/components/camel-azure/camel-azure-files/pom.xml
+++ b/components/camel-azure/camel-azure-files/pom.xml
@@ -26,19 +26,20 @@
<version>4.0.0-SNAPSHOT</version>
</parent>
- <groupId>org.apache.camel</groupId>
<artifactId>camel-azure-files</artifactId>
<packaging>jar</packaging>
-
<name>Camel :: Azure Files</name>
<description>Camel Azure Files Component</description>
+ <properties>
+ <supportLevel>Preview</supportLevel>
+ </properties>
+
<dependencies>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-ftp</artifactId>
</dependency>
-
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-storage-file-share</artifactId>
diff --git
a/components/camel-azure/camel-azure-files/src/generated/java/org/apache/camel/component/file/azure/FilesEndpointUriFactory.java
b/components/camel-azure/camel-azure-files/src/generated/java/org/apache/camel/component/file/azure/FilesEndpointUriFactory.java
index a57395d0533..d6ad267770f 100644
---
a/components/camel-azure/camel-azure-files/src/generated/java/org/apache/camel/component/file/azure/FilesEndpointUriFactory.java
+++
b/components/camel-azure/camel-azure-files/src/generated/java/org/apache/camel/component/file/azure/FilesEndpointUriFactory.java
@@ -15,7 +15,7 @@ import org.apache.camel.spi.EndpointUriFactory;
*/
public class FilesEndpointUriFactory extends
org.apache.camel.support.component.EndpointUriFactorySupport implements
EndpointUriFactory {
- private static final String BASE = "://account/share";
+ private static final String BASE = ":account/share";
private static final Set<String> PROPERTY_NAMES;
private static final Set<String> SECRET_PROPERTY_NAMES;
diff --git
a/components/camel-azure/camel-azure-files/src/generated/resources/org/apache/camel/component/file/azure/azure-files.json
b/components/camel-azure/camel-azure-files/src/generated/resources/org/apache/camel/component/file/azure/azure-files.json
index c92e8bfa11c..776bd197ca3 100644
---
a/components/camel-azure/camel-azure-files/src/generated/resources/org/apache/camel/component/file/azure/azure-files.json
+++
b/components/camel-azure/camel-azure-files/src/generated/resources/org/apache/camel/component/file/azure/azure-files.json
@@ -6,16 +6,16 @@
"description": "Camel Azure Files Component",
"deprecated": false,
"deprecationNote": "",
- "firstVersion": "3.21.0",
+ "firstVersion": "3.22.0",
"label": "cloud,file",
"javaType": "org.apache.camel.component.file.azure.FilesComponent",
- "supportLevel": "Stable",
+ "supportLevel": "Preview",
"groupId": "org.apache.camel",
"artifactId": "camel-azure-files",
"version": "4.0.0-SNAPSHOT",
"scheme": "azure-files",
"extendsScheme": "file",
- "syntax": "azure-files:\/\/account\/share",
+ "syntax": "azure-files:account\/share",
"async": false,
"api": false,
"consumerOnly": false,
@@ -80,62 +80,62 @@
"reconnectDelay": { "index": 39, "kind": "parameter", "displayName":
"Reconnect Delay", "group": "advanced", "label": "advanced", "required": false,
"type": "duration", "javaType": "long", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": "1000", "description": "Delay in millis
Camel will wait before performing a reconnect attempt." },
"throwExceptionOnConnectFailed": { "index": 40, "kind": "parameter",
"displayName": "Throw Exception On Connect Failed", "group": "advanced",
"label": "advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "configurationClass":
"org.apache.camel.component.file.azure.FilesConfiguration",
"configurationField": "configuration", "description": "Should an exception be
thrown if connection fa [...]
"timeout": { "index": 41, "kind": "parameter", "displayName": "Timeout",
"group": "advanced", "label": "advanced", "required": false, "type":
"duration", "javaType": "int", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "30000", "configurationClass":
"org.apache.camel.component.file.azure.FilesConfiguration",
"configurationField": "configuration", "description": "Sets the data timeout
for waiting for reply Used only by FTPClient" },
- "sdd": { "index": 42, "kind": "parameter", "displayName": "Sdd", "group":
"both", "label": "both", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": true,
"configurationClass": "org.apache.camel.component.file.azure.FilesToken",
"configurationField": "token", "description": "part of service SAS token" },
- "se": { "index": 43, "kind": "parameter", "displayName": "Se", "group":
"both", "label": "both", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": true,
"configurationClass": "org.apache.camel.component.file.azure.FilesToken",
"configurationField": "token", "description": "part of SAS token" },
- "sharedKey": { "index": 44, "kind": "parameter", "displayName": "Shared
Key", "group": "both", "label": "both", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.file.azure.FilesConfiguration",
"configurationField": "configuration", "description": "Shared key (storage
account key)" },
- "si": { "index": 45, "kind": "parameter", "displayName": "Si", "group":
"both", "label": "both", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": true,
"configurationClass": "org.apache.camel.component.file.azure.FilesToken",
"configurationField": "token", "description": "part of service SAS token" },
- "sig": { "index": 46, "kind": "parameter", "displayName": "Sig", "group":
"both", "label": "both", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": true,
"configurationClass": "org.apache.camel.component.file.azure.FilesToken",
"configurationField": "token", "description": "part of SAS token" },
- "sip": { "index": 47, "kind": "parameter", "displayName": "Sip", "group":
"both", "label": "both", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": true,
"configurationClass": "org.apache.camel.component.file.azure.FilesToken",
"configurationField": "token", "description": "part of SAS token" },
- "sp": { "index": 48, "kind": "parameter", "displayName": "Sp", "group":
"both", "label": "both", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": true,
"configurationClass": "org.apache.camel.component.file.azure.FilesToken",
"configurationField": "token", "description": "part of SAS token" },
- "spr": { "index": 49, "kind": "parameter", "displayName": "Spr", "group":
"both", "label": "both", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": true,
"configurationClass": "org.apache.camel.component.file.azure.FilesToken",
"configurationField": "token", "description": "part of SAS token" },
- "sr": { "index": 50, "kind": "parameter", "displayName": "Sr", "group":
"both", "label": "both", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": true,
"configurationClass": "org.apache.camel.component.file.azure.FilesToken",
"configurationField": "token", "description": "part of service SAS token" },
- "srt": { "index": 51, "kind": "parameter", "displayName": "Srt", "group":
"both", "label": "both", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": true,
"configurationClass": "org.apache.camel.component.file.azure.FilesToken",
"configurationField": "token", "description": "part of SAS token" },
- "ss": { "index": 52, "kind": "parameter", "displayName": "Ss", "group":
"both", "label": "both", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": true,
"configurationClass": "org.apache.camel.component.file.azure.FilesToken",
"configurationField": "token", "description": "part of account SAS token" },
- "st": { "index": 53, "kind": "parameter", "displayName": "St", "group":
"both", "label": "both", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": true,
"configurationClass": "org.apache.camel.component.file.azure.FilesToken",
"configurationField": "token", "description": "part of SAS token" },
- "sv": { "index": 54, "kind": "parameter", "displayName": "Sv", "group":
"both", "label": "both", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": true,
"configurationClass": "org.apache.camel.component.file.azure.FilesToken",
"configurationField": "token", "description": "part of SAS token" },
- "antExclude": { "index": 55, "kind": "parameter", "displayName": "Ant
Exclude", "group": "filter", "label": "consumer,filter", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "Ant style filter
exclusion. If both antInclude and antExclude are used, antExclude takes
precedence over antInclude. Multiple exclusions may be specified in
comma-delimited format." },
- "antFilterCaseSensitive": { "index": 56, "kind": "parameter",
"displayName": "Ant Filter Case Sensitive", "group": "filter", "label":
"consumer,filter", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Sets case sensitive flag on ant filter." },
- "antInclude": { "index": 57, "kind": "parameter", "displayName": "Ant
Include", "group": "filter", "label": "consumer,filter", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "Ant style filter
inclusion. Multiple inclusions may be specified in comma-delimited format." },
- "eagerMaxMessagesPerPoll": { "index": 58, "kind": "parameter",
"displayName": "Eager Max Messages Per Poll", "group": "filter", "label":
"consumer,filter", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Allows for controlling whether the limit from
maxMessagesPerPoll is eager or not. If eager then the limit is during the
scanning of files. Where as false would scan all files, [...]
- "exclude": { "index": 59, "kind": "parameter", "displayName": "Exclude",
"group": "filter", "label": "consumer,filter", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "Is used to exclude files, if filename
matches the regex pattern (matching is case in-sensitive). Notice if you use
symbols such as plus sign and others you would need to configure this using the
RAW() syntax if configuring th [...]
- "excludeExt": { "index": 60, "kind": "parameter", "displayName": "Exclude
Ext", "group": "filter", "label": "consumer,filter", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "Is used to exclude files matching file
extension name (case insensitive). For example to exclude bak files, then use
excludeExt=bak. Multiple extensions can be separated by comma, for example to
exclude bak and dat fil [...]
- "filter": { "index": 61, "kind": "parameter", "displayName": "Filter",
"group": "filter", "label": "consumer,filter", "required": false, "type":
"object", "javaType":
"org.apache.camel.component.file.GenericFileFilter<com.azure.storage.file.share.models.ShareFileItem>",
"deprecated": false, "autowired": false, "secret": false, "description":
"Pluggable filter as a org.apache.camel.component.file.GenericFileFilter class.
Will skip files if filter returns false in its accept() method." },
- "filterDirectory": { "index": 62, "kind": "parameter", "displayName":
"Filter Directory", "group": "filter", "label": "consumer,filter", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "Filters the directory
based on Simple language. For example to filter on current date, you can use a
simple date pattern such as ${date:now:yyyMMdd}" },
- "filterFile": { "index": 63, "kind": "parameter", "displayName": "Filter
File", "group": "filter", "label": "consumer,filter", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "Filters the file based on
Simple language. For example to filter on file size, you can use ${file:size}
5000" },
- "idempotent": { "index": 64, "kind": "parameter", "displayName":
"Idempotent", "group": "filter", "label": "consumer,filter", "required": false,
"type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": "false", "description":
"Option to use the Idempotent Consumer EIP pattern to let Camel skip already
processed files. Will by default use a memory based LRUCache that holds 1000
entries. If noop=true then idempotent w [...]
- "idempotentKey": { "index": 65, "kind": "parameter", "displayName":
"Idempotent Key", "group": "filter", "label": "consumer,filter", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "To use a custom idempotent
key. By default the absolute path of the file is used. You can use the File
Language, for example to use the file name and file size, you can do:
idempotentKey=${file:name}-${file:size}" },
- "idempotentRepository": { "index": 66, "kind": "parameter", "displayName":
"Idempotent Repository", "group": "filter", "label": "consumer,filter",
"required": false, "type": "object", "javaType":
"org.apache.camel.spi.IdempotentRepository", "deprecated": false, "autowired":
false, "secret": false, "description": "A pluggable repository
org.apache.camel.spi.IdempotentRepository which by default use
MemoryIdempotentRepository if none is specified and idempotent is true." },
- "include": { "index": 67, "kind": "parameter", "displayName": "Include",
"group": "filter", "label": "consumer,filter", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "Is used to include files, if filename
matches the regex pattern (matching is case in-sensitive). Notice if you use
symbols such as plus sign and others you would need to configure this using the
RAW() syntax if configuring th [...]
- "includeExt": { "index": 68, "kind": "parameter", "displayName": "Include
Ext", "group": "filter", "label": "consumer,filter", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "Is used to include files matching file
extension name (case insensitive). For example to include txt files, then use
includeExt=txt. Multiple extensions can be separated by comma, for example to
include txt and xml fil [...]
- "maxDepth": { "index": 69, "kind": "parameter", "displayName": "Max
Depth", "group": "filter", "label": "consumer,filter", "required": false,
"type": "integer", "javaType": "int", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": 2147483647, "description": "The maximum depth
to traverse when recursively processing a directory." },
- "maxMessagesPerPoll": { "index": 70, "kind": "parameter", "displayName":
"Max Messages Per Poll", "group": "filter", "label": "consumer,filter",
"required": false, "type": "integer", "javaType": "int", "deprecated": false,
"autowired": false, "secret": false, "description": "To define a maximum
messages to gather per poll. By default no maximum is set. Can be used to set a
limit of e.g. 1000 to avoid when starting up the server that there are
thousands of files. Set a value of 0 or n [...]
- "minDepth": { "index": 71, "kind": "parameter", "displayName": "Min
Depth", "group": "filter", "label": "consumer,filter", "required": false,
"type": "integer", "javaType": "int", "deprecated": false, "autowired": false,
"secret": false, "description": "The minimum depth to start processing when
recursively processing a directory. Using minDepth=1 means the base directory.
Using minDepth=2 means the first sub directory." },
- "move": { "index": 72, "kind": "parameter", "displayName": "Move",
"group": "filter", "label": "consumer,filter", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "Expression (such as Simple Language)
used to dynamically set the filename when moving it after processing. To move
files into a .done subdirectory just enter .done." },
- "exclusiveReadLockStrategy": { "index": 73, "kind": "parameter",
"displayName": "Exclusive Read Lock Strategy", "group": "lock", "label":
"consumer,lock", "required": false, "type": "object", "javaType":
"org.apache.camel.component.file.GenericFileExclusiveReadLockStrategy<com.azure.storage.file.share.models.ShareFileItem>",
"deprecated": false, "autowired": false, "secret": false, "description":
"Pluggable read-lock as a
org.apache.camel.component.file.GenericFileExclusiveReadLockSt [...]
- "readLock": { "index": 74, "kind": "parameter", "displayName": "Read
Lock", "group": "lock", "label": "consumer,lock", "required": false, "type":
"string", "javaType": "java.lang.String", "enum": [ "none", "markerFile",
"fileLock", "rename", "changed", "idempotent", "idempotent-changed",
"idempotent-rename" ], "deprecated": false, "autowired": false, "secret":
false, "defaultValue": "none", "description": "Used by consumer, to only poll
the files if it has exclusive read-lock on the [...]
- "readLockCheckInterval": { "index": 75, "kind": "parameter",
"displayName": "Read Lock Check Interval", "group": "lock", "label":
"consumer,lock", "required": false, "type": "integer", "javaType": "long",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": 1000,
"description": "Interval in millis for the read-lock, if supported by the read
lock. This interval is used for sleeping between attempts to acquire the read
lock. For example when using the changed read [...]
- "readLockDeleteOrphanLockFiles": { "index": 76, "kind": "parameter",
"displayName": "Read Lock Delete Orphan Lock Files", "group": "lock", "label":
"consumer,lock", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Whether or not read lock with marker files should upon startup
delete any orphan read lock files, which may have been left on the file system,
if Camel was not proper [...]
- "readLockLoggingLevel": { "index": 77, "kind": "parameter", "displayName":
"Read Lock Logging Level", "group": "lock", "label": "consumer,lock",
"required": false, "type": "object", "javaType":
"org.apache.camel.LoggingLevel", "enum": [ "TRACE", "DEBUG", "INFO", "WARN",
"ERROR", "OFF" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "DEBUG", "description": "Logging level used when a read lock
could not be acquired. By default a DEBUG is logged. You can cha [...]
- "readLockMarkerFile": { "index": 78, "kind": "parameter", "displayName":
"Read Lock Marker File", "group": "lock", "label": "consumer,lock", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description":
"Whether to use marker file with the changed, rename, or exclusive read lock
types. By default a marker file is used as well to guard against other
processes picking up the same files. This b [...]
- "readLockMinAge": { "index": 79, "kind": "parameter", "displayName": "Read
Lock Min Age", "group": "lock", "label": "consumer,lock", "required": false,
"type": "integer", "javaType": "long", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": 0, "description": "This option is applied only
for readLock=changed. It allows to specify a minimum age the file must be
before attempting to acquire the read lock. For example use readLockMinAge=300s
to require the file is [...]
- "readLockMinLength": { "index": 80, "kind": "parameter", "displayName":
"Read Lock Min Length", "group": "lock", "label": "consumer,lock", "required":
false, "type": "integer", "javaType": "long", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": 1, "description": "This option is
applied only for readLock=changed. It allows you to configure a minimum file
length. By default Camel expects the file to contain data, and thus the default
value is 1. You can set th [...]
- "readLockRemoveOnCommit": { "index": 81, "kind": "parameter",
"displayName": "Read Lock Remove On Commit", "group": "lock", "label":
"consumer,lock", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "description": "This option is applied only for readLock=idempotent. It
allows to specify whether to remove the file name entry from the idempotent
repository when processing the file is succeeded [...]
- "readLockRemoveOnRollback": { "index": 82, "kind": "parameter",
"displayName": "Read Lock Remove On Rollback", "group": "lock", "label":
"consumer,lock", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "This option is applied only for readLock=idempotent. It allows
to specify whether to remove the file name entry from the idempotent repository
when processing the file failed an [...]
- "readLockTimeout": { "index": 83, "kind": "parameter", "displayName":
"Read Lock Timeout", "group": "lock", "label": "consumer,lock", "required":
false, "type": "integer", "javaType": "long", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": 10000, "description": "Optional timeout
in millis for the read-lock, if supported by the read-lock. If the read-lock
could not be granted and the timeout triggered, then Camel will skip the file.
At next poll Camel, will t [...]
- "backoffErrorThreshold": { "index": 84, "kind": "parameter",
"displayName": "Backoff Error Threshold", "group": "scheduler", "label":
"consumer,scheduler", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "description": "The
number of subsequent error polls (failed due some error) that should happen
before the backoffMultipler should kick-in." },
- "backoffIdleThreshold": { "index": 85, "kind": "parameter", "displayName":
"Backoff Idle Threshold", "group": "scheduler", "label": "consumer,scheduler",
"required": false, "type": "integer", "javaType": "int", "deprecated": false,
"autowired": false, "secret": false, "description": "The number of subsequent
idle polls that should happen before the backoffMultipler should kick-in." },
- "backoffMultiplier": { "index": 86, "kind": "parameter", "displayName":
"Backoff Multiplier", "group": "scheduler", "label": "consumer,scheduler",
"required": false, "type": "integer", "javaType": "int", "deprecated": false,
"autowired": false, "secret": false, "description": "To let the scheduled
polling consumer backoff if there has been a number of subsequent idles\/errors
in a row. The multiplier is then the number of polls that will be skipped
before the next actual attempt is h [...]
- "delay": { "index": 87, "kind": "parameter", "displayName": "Delay",
"group": "scheduler", "label": "consumer,scheduler", "required": false, "type":
"integer", "javaType": "long", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": 500, "description": "Milliseconds before the
next poll." },
- "greedy": { "index": 88, "kind": "parameter", "displayName": "Greedy",
"group": "scheduler", "label": "consumer,scheduler", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "If greedy is enabled,
then the ScheduledPollConsumer will run immediately again, if the previous run
polled 1 or more messages." },
- "initialDelay": { "index": 89, "kind": "parameter", "displayName":
"Initial Delay", "group": "scheduler", "label": "consumer,scheduler",
"required": false, "type": "integer", "javaType": "long", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": 1000, "description":
"Milliseconds before the first poll starts." },
- "repeatCount": { "index": 90, "kind": "parameter", "displayName": "Repeat
Count", "group": "scheduler", "label": "consumer,scheduler", "required": false,
"type": "integer", "javaType": "long", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": 0, "description": "Specifies a maximum limit
of number of fires. So if you set it to 1, the scheduler will only fire once.
If you set it to 5, it will only fire five times. A value of zero or negative
means fire forever." },
- "runLoggingLevel": { "index": 91, "kind": "parameter", "displayName": "Run
Logging Level", "group": "scheduler", "label": "consumer,scheduler",
"required": false, "type": "object", "javaType":
"org.apache.camel.LoggingLevel", "enum": [ "TRACE", "DEBUG", "INFO", "WARN",
"ERROR", "OFF" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "TRACE", "description": "The consumer logs a start\/complete
log line when it polls. This option allows you to configure the l [...]
- "scheduledExecutorService": { "index": 92, "kind": "parameter",
"displayName": "Scheduled Executor Service", "group": "scheduler", "label":
"consumer,scheduler", "required": false, "type": "object", "javaType":
"java.util.concurrent.ScheduledExecutorService", "deprecated": false,
"autowired": false, "secret": false, "description": "Allows for configuring a
custom\/shared thread pool to use for the consumer. By default each consumer
has its own single threaded thread pool." },
- "scheduler": { "index": 93, "kind": "parameter", "displayName":
"Scheduler", "group": "scheduler", "label": "consumer,scheduler", "required":
false, "type": "object", "javaType": "java.lang.Object", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": "none", "description": "To
use a cron scheduler from either camel-spring or camel-quartz component. Use
value spring or quartz for built in scheduler" },
- "schedulerProperties": { "index": 94, "kind": "parameter", "displayName":
"Scheduler Properties", "group": "scheduler", "label": "consumer,scheduler",
"required": false, "type": "object", "javaType":
"java.util.Map<java.lang.String, java.lang.Object>", "prefix": "scheduler.",
"multiValue": true, "deprecated": false, "autowired": false, "secret": false,
"description": "To configure additional properties when using a custom
scheduler or any of the Quartz, Spring based scheduler." },
- "startScheduler": { "index": 95, "kind": "parameter", "displayName":
"Start Scheduler", "group": "scheduler", "label": "consumer,scheduler",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Whether the scheduler should be auto started." },
- "timeUnit": { "index": 96, "kind": "parameter", "displayName": "Time
Unit", "group": "scheduler", "label": "consumer,scheduler", "required": false,
"type": "object", "javaType": "java.util.concurrent.TimeUnit", "enum": [
"NANOSECONDS", "MICROSECONDS", "MILLISECONDS", "SECONDS", "MINUTES", "HOURS",
"DAYS" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "MILLISECONDS", "description": "Time unit for initialDelay and
delay options." },
- "useFixedDelay": { "index": 97, "kind": "parameter", "displayName": "Use
Fixed Delay", "group": "scheduler", "label": "consumer,scheduler", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description":
"Controls if fixed delay or fixed rate is used. See ScheduledExecutorService in
JDK for details." },
+ "sharedKey": { "index": 42, "kind": "parameter", "displayName": "Shared
Key", "group": "both", "label": "both", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.file.azure.FilesConfiguration",
"configurationField": "configuration", "description": "Shared key (storage
account key)" },
+ "antExclude": { "index": 43, "kind": "parameter", "displayName": "Ant
Exclude", "group": "filter", "label": "consumer,filter", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "Ant style filter
exclusion. If both antInclude and antExclude are used, antExclude takes
precedence over antInclude. Multiple exclusions may be specified in
comma-delimited format." },
+ "antFilterCaseSensitive": { "index": 44, "kind": "parameter",
"displayName": "Ant Filter Case Sensitive", "group": "filter", "label":
"consumer,filter", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Sets case sensitive flag on ant filter." },
+ "antInclude": { "index": 45, "kind": "parameter", "displayName": "Ant
Include", "group": "filter", "label": "consumer,filter", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "Ant style filter
inclusion. Multiple inclusions may be specified in comma-delimited format." },
+ "eagerMaxMessagesPerPoll": { "index": 46, "kind": "parameter",
"displayName": "Eager Max Messages Per Poll", "group": "filter", "label":
"consumer,filter", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Allows for controlling whether the limit from
maxMessagesPerPoll is eager or not. If eager then the limit is during the
scanning of files. Where as false would scan all files, [...]
+ "exclude": { "index": 47, "kind": "parameter", "displayName": "Exclude",
"group": "filter", "label": "consumer,filter", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "Is used to exclude files, if filename
matches the regex pattern (matching is case in-sensitive). Notice if you use
symbols such as plus sign and others you would need to configure this using the
RAW() syntax if configuring th [...]
+ "excludeExt": { "index": 48, "kind": "parameter", "displayName": "Exclude
Ext", "group": "filter", "label": "consumer,filter", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "Is used to exclude files matching file
extension name (case insensitive). For example to exclude bak files, then use
excludeExt=bak. Multiple extensions can be separated by comma, for example to
exclude bak and dat fil [...]
+ "filter": { "index": 49, "kind": "parameter", "displayName": "Filter",
"group": "filter", "label": "consumer,filter", "required": false, "type":
"object", "javaType":
"org.apache.camel.component.file.GenericFileFilter<com.azure.storage.file.share.models.ShareFileItem>",
"deprecated": false, "autowired": false, "secret": false, "description":
"Pluggable filter as a org.apache.camel.component.file.GenericFileFilter class.
Will skip files if filter returns false in its accept() method." },
+ "filterDirectory": { "index": 50, "kind": "parameter", "displayName":
"Filter Directory", "group": "filter", "label": "consumer,filter", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "Filters the directory
based on Simple language. For example to filter on current date, you can use a
simple date pattern such as ${date:now:yyyMMdd}" },
+ "filterFile": { "index": 51, "kind": "parameter", "displayName": "Filter
File", "group": "filter", "label": "consumer,filter", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "Filters the file based on
Simple language. For example to filter on file size, you can use ${file:size}
5000" },
+ "idempotent": { "index": 52, "kind": "parameter", "displayName":
"Idempotent", "group": "filter", "label": "consumer,filter", "required": false,
"type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": "false", "description":
"Option to use the Idempotent Consumer EIP pattern to let Camel skip already
processed files. Will by default use a memory based LRUCache that holds 1000
entries. If noop=true then idempotent w [...]
+ "idempotentKey": { "index": 53, "kind": "parameter", "displayName":
"Idempotent Key", "group": "filter", "label": "consumer,filter", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "To use a custom idempotent
key. By default the absolute path of the file is used. You can use the File
Language, for example to use the file name and file size, you can do:
idempotentKey=${file:name}-${file:size}" },
+ "idempotentRepository": { "index": 54, "kind": "parameter", "displayName":
"Idempotent Repository", "group": "filter", "label": "consumer,filter",
"required": false, "type": "object", "javaType":
"org.apache.camel.spi.IdempotentRepository", "deprecated": false, "autowired":
false, "secret": false, "description": "A pluggable repository
org.apache.camel.spi.IdempotentRepository which by default use
MemoryIdempotentRepository if none is specified and idempotent is true." },
+ "include": { "index": 55, "kind": "parameter", "displayName": "Include",
"group": "filter", "label": "consumer,filter", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "Is used to include files, if filename
matches the regex pattern (matching is case in-sensitive). Notice if you use
symbols such as plus sign and others you would need to configure this using the
RAW() syntax if configuring th [...]
+ "includeExt": { "index": 56, "kind": "parameter", "displayName": "Include
Ext", "group": "filter", "label": "consumer,filter", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "Is used to include files matching file
extension name (case insensitive). For example to include txt files, then use
includeExt=txt. Multiple extensions can be separated by comma, for example to
include txt and xml fil [...]
+ "maxDepth": { "index": 57, "kind": "parameter", "displayName": "Max
Depth", "group": "filter", "label": "consumer,filter", "required": false,
"type": "integer", "javaType": "int", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": 2147483647, "description": "The maximum depth
to traverse when recursively processing a directory." },
+ "maxMessagesPerPoll": { "index": 58, "kind": "parameter", "displayName":
"Max Messages Per Poll", "group": "filter", "label": "consumer,filter",
"required": false, "type": "integer", "javaType": "int", "deprecated": false,
"autowired": false, "secret": false, "description": "To define a maximum
messages to gather per poll. By default no maximum is set. Can be used to set a
limit of e.g. 1000 to avoid when starting up the server that there are
thousands of files. Set a value of 0 or n [...]
+ "minDepth": { "index": 59, "kind": "parameter", "displayName": "Min
Depth", "group": "filter", "label": "consumer,filter", "required": false,
"type": "integer", "javaType": "int", "deprecated": false, "autowired": false,
"secret": false, "description": "The minimum depth to start processing when
recursively processing a directory. Using minDepth=1 means the base directory.
Using minDepth=2 means the first sub directory." },
+ "move": { "index": 60, "kind": "parameter", "displayName": "Move",
"group": "filter", "label": "consumer,filter", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "Expression (such as Simple Language)
used to dynamically set the filename when moving it after processing. To move
files into a .done subdirectory just enter .done." },
+ "exclusiveReadLockStrategy": { "index": 61, "kind": "parameter",
"displayName": "Exclusive Read Lock Strategy", "group": "lock", "label":
"consumer,lock", "required": false, "type": "object", "javaType":
"org.apache.camel.component.file.GenericFileExclusiveReadLockStrategy<com.azure.storage.file.share.models.ShareFileItem>",
"deprecated": false, "autowired": false, "secret": false, "description":
"Pluggable read-lock as a
org.apache.camel.component.file.GenericFileExclusiveReadLockSt [...]
+ "readLock": { "index": 62, "kind": "parameter", "displayName": "Read
Lock", "group": "lock", "label": "consumer,lock", "required": false, "type":
"string", "javaType": "java.lang.String", "enum": [ "none", "markerFile",
"fileLock", "rename", "changed", "idempotent", "idempotent-changed",
"idempotent-rename" ], "deprecated": false, "autowired": false, "secret":
false, "defaultValue": "none", "description": "Used by consumer, to only poll
the files if it has exclusive read-lock on the [...]
+ "readLockCheckInterval": { "index": 63, "kind": "parameter",
"displayName": "Read Lock Check Interval", "group": "lock", "label":
"consumer,lock", "required": false, "type": "integer", "javaType": "long",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": 1000,
"description": "Interval in millis for the read-lock, if supported by the read
lock. This interval is used for sleeping between attempts to acquire the read
lock. For example when using the changed read [...]
+ "readLockDeleteOrphanLockFiles": { "index": 64, "kind": "parameter",
"displayName": "Read Lock Delete Orphan Lock Files", "group": "lock", "label":
"consumer,lock", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Whether or not read lock with marker files should upon startup
delete any orphan read lock files, which may have been left on the file system,
if Camel was not proper [...]
+ "readLockLoggingLevel": { "index": 65, "kind": "parameter", "displayName":
"Read Lock Logging Level", "group": "lock", "label": "consumer,lock",
"required": false, "type": "object", "javaType":
"org.apache.camel.LoggingLevel", "enum": [ "TRACE", "DEBUG", "INFO", "WARN",
"ERROR", "OFF" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "DEBUG", "description": "Logging level used when a read lock
could not be acquired. By default a DEBUG is logged. You can cha [...]
+ "readLockMarkerFile": { "index": 66, "kind": "parameter", "displayName":
"Read Lock Marker File", "group": "lock", "label": "consumer,lock", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description":
"Whether to use marker file with the changed, rename, or exclusive read lock
types. By default a marker file is used as well to guard against other
processes picking up the same files. This b [...]
+ "readLockMinAge": { "index": 67, "kind": "parameter", "displayName": "Read
Lock Min Age", "group": "lock", "label": "consumer,lock", "required": false,
"type": "integer", "javaType": "long", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": 0, "description": "This option is applied only
for readLock=changed. It allows to specify a minimum age the file must be
before attempting to acquire the read lock. For example use readLockMinAge=300s
to require the file is [...]
+ "readLockMinLength": { "index": 68, "kind": "parameter", "displayName":
"Read Lock Min Length", "group": "lock", "label": "consumer,lock", "required":
false, "type": "integer", "javaType": "long", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": 1, "description": "This option is
applied only for readLock=changed. It allows you to configure a minimum file
length. By default Camel expects the file to contain data, and thus the default
value is 1. You can set th [...]
+ "readLockRemoveOnCommit": { "index": 69, "kind": "parameter",
"displayName": "Read Lock Remove On Commit", "group": "lock", "label":
"consumer,lock", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "description": "This option is applied only for readLock=idempotent. It
allows to specify whether to remove the file name entry from the idempotent
repository when processing the file is succeeded [...]
+ "readLockRemoveOnRollback": { "index": 70, "kind": "parameter",
"displayName": "Read Lock Remove On Rollback", "group": "lock", "label":
"consumer,lock", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "This option is applied only for readLock=idempotent. It allows
to specify whether to remove the file name entry from the idempotent repository
when processing the file failed an [...]
+ "readLockTimeout": { "index": 71, "kind": "parameter", "displayName":
"Read Lock Timeout", "group": "lock", "label": "consumer,lock", "required":
false, "type": "integer", "javaType": "long", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": 10000, "description": "Optional timeout
in millis for the read-lock, if supported by the read-lock. If the read-lock
could not be granted and the timeout triggered, then Camel will skip the file.
At next poll Camel, will t [...]
+ "backoffErrorThreshold": { "index": 72, "kind": "parameter",
"displayName": "Backoff Error Threshold", "group": "scheduler", "label":
"consumer,scheduler", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "description": "The
number of subsequent error polls (failed due some error) that should happen
before the backoffMultipler should kick-in." },
+ "backoffIdleThreshold": { "index": 73, "kind": "parameter", "displayName":
"Backoff Idle Threshold", "group": "scheduler", "label": "consumer,scheduler",
"required": false, "type": "integer", "javaType": "int", "deprecated": false,
"autowired": false, "secret": false, "description": "The number of subsequent
idle polls that should happen before the backoffMultipler should kick-in." },
+ "backoffMultiplier": { "index": 74, "kind": "parameter", "displayName":
"Backoff Multiplier", "group": "scheduler", "label": "consumer,scheduler",
"required": false, "type": "integer", "javaType": "int", "deprecated": false,
"autowired": false, "secret": false, "description": "To let the scheduled
polling consumer backoff if there has been a number of subsequent idles\/errors
in a row. The multiplier is then the number of polls that will be skipped
before the next actual attempt is h [...]
+ "delay": { "index": 75, "kind": "parameter", "displayName": "Delay",
"group": "scheduler", "label": "consumer,scheduler", "required": false, "type":
"integer", "javaType": "long", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": 500, "description": "Milliseconds before the
next poll." },
+ "greedy": { "index": 76, "kind": "parameter", "displayName": "Greedy",
"group": "scheduler", "label": "consumer,scheduler", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "If greedy is enabled,
then the ScheduledPollConsumer will run immediately again, if the previous run
polled 1 or more messages." },
+ "initialDelay": { "index": 77, "kind": "parameter", "displayName":
"Initial Delay", "group": "scheduler", "label": "consumer,scheduler",
"required": false, "type": "integer", "javaType": "long", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": 1000, "description":
"Milliseconds before the first poll starts." },
+ "repeatCount": { "index": 78, "kind": "parameter", "displayName": "Repeat
Count", "group": "scheduler", "label": "consumer,scheduler", "required": false,
"type": "integer", "javaType": "long", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": 0, "description": "Specifies a maximum limit
of number of fires. So if you set it to 1, the scheduler will only fire once.
If you set it to 5, it will only fire five times. A value of zero or negative
means fire forever." },
+ "runLoggingLevel": { "index": 79, "kind": "parameter", "displayName": "Run
Logging Level", "group": "scheduler", "label": "consumer,scheduler",
"required": false, "type": "object", "javaType":
"org.apache.camel.LoggingLevel", "enum": [ "TRACE", "DEBUG", "INFO", "WARN",
"ERROR", "OFF" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "TRACE", "description": "The consumer logs a start\/complete
log line when it polls. This option allows you to configure the l [...]
+ "scheduledExecutorService": { "index": 80, "kind": "parameter",
"displayName": "Scheduled Executor Service", "group": "scheduler", "label":
"consumer,scheduler", "required": false, "type": "object", "javaType":
"java.util.concurrent.ScheduledExecutorService", "deprecated": false,
"autowired": false, "secret": false, "description": "Allows for configuring a
custom\/shared thread pool to use for the consumer. By default each consumer
has its own single threaded thread pool." },
+ "scheduler": { "index": 81, "kind": "parameter", "displayName":
"Scheduler", "group": "scheduler", "label": "consumer,scheduler", "required":
false, "type": "object", "javaType": "java.lang.Object", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": "none", "description": "To
use a cron scheduler from either camel-spring or camel-quartz component. Use
value spring or quartz for built in scheduler" },
+ "schedulerProperties": { "index": 82, "kind": "parameter", "displayName":
"Scheduler Properties", "group": "scheduler", "label": "consumer,scheduler",
"required": false, "type": "object", "javaType":
"java.util.Map<java.lang.String, java.lang.Object>", "prefix": "scheduler.",
"multiValue": true, "deprecated": false, "autowired": false, "secret": false,
"description": "To configure additional properties when using a custom
scheduler or any of the Quartz, Spring based scheduler." },
+ "startScheduler": { "index": 83, "kind": "parameter", "displayName":
"Start Scheduler", "group": "scheduler", "label": "consumer,scheduler",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Whether the scheduler should be auto started." },
+ "timeUnit": { "index": 84, "kind": "parameter", "displayName": "Time
Unit", "group": "scheduler", "label": "consumer,scheduler", "required": false,
"type": "object", "javaType": "java.util.concurrent.TimeUnit", "enum": [
"NANOSECONDS", "MICROSECONDS", "MILLISECONDS", "SECONDS", "MINUTES", "HOURS",
"DAYS" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "MILLISECONDS", "description": "Time unit for initialDelay and
delay options." },
+ "useFixedDelay": { "index": 85, "kind": "parameter", "displayName": "Use
Fixed Delay", "group": "scheduler", "label": "consumer,scheduler", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description":
"Controls if fixed delay or fixed rate is used. See ScheduledExecutorService in
JDK for details." },
+ "sdd": { "index": 86, "kind": "parameter", "displayName": "Sdd", "group":
"security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.file.azure.FilesToken", "configurationField":
"token", "description": "part of service SAS token" },
+ "se": { "index": 87, "kind": "parameter", "displayName": "Se", "group":
"security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.file.azure.FilesToken", "configurationField":
"token", "description": "part of SAS token" },
+ "si": { "index": 88, "kind": "parameter", "displayName": "Si", "group":
"security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.file.azure.FilesToken", "configurationField":
"token", "description": "part of service SAS token" },
+ "sig": { "index": 89, "kind": "parameter", "displayName": "Sig", "group":
"security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.file.azure.FilesToken", "configurationField":
"token", "description": "part of SAS token" },
+ "sip": { "index": 90, "kind": "parameter", "displayName": "Sip", "group":
"security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.file.azure.FilesToken", "configurationField":
"token", "description": "part of SAS token" },
+ "sp": { "index": 91, "kind": "parameter", "displayName": "Sp", "group":
"security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.file.azure.FilesToken", "configurationField":
"token", "description": "part of SAS token" },
+ "spr": { "index": 92, "kind": "parameter", "displayName": "Spr", "group":
"security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.file.azure.FilesToken", "configurationField":
"token", "description": "part of SAS token" },
+ "sr": { "index": 93, "kind": "parameter", "displayName": "Sr", "group":
"security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.file.azure.FilesToken", "configurationField":
"token", "description": "part of service SAS token" },
+ "srt": { "index": 94, "kind": "parameter", "displayName": "Srt", "group":
"security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.file.azure.FilesToken", "configurationField":
"token", "description": "part of SAS token" },
+ "ss": { "index": 95, "kind": "parameter", "displayName": "Ss", "group":
"security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.file.azure.FilesToken", "configurationField":
"token", "description": "part of account SAS token" },
+ "st": { "index": 96, "kind": "parameter", "displayName": "St", "group":
"security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.file.azure.FilesToken", "configurationField":
"token", "description": "part of SAS token" },
+ "sv": { "index": 97, "kind": "parameter", "displayName": "Sv", "group":
"security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.file.azure.FilesToken", "configurationField":
"token", "description": "part of SAS token" },
"shuffle": { "index": 98, "kind": "parameter", "displayName": "Shuffle",
"group": "sort", "label": "consumer,sort", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "To shuffle the list of
files (sort in random order)" },
"sortBy": { "index": 99, "kind": "parameter", "displayName": "Sort By",
"group": "sort", "label": "consumer,sort", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Built-in sort by using the File Language.
Supports nested sorts, so you can have a sort by file name and as a 2nd group
sort by modified date." },
"sorter": { "index": 100, "kind": "parameter", "displayName": "Sorter",
"group": "sort", "label": "consumer,sort", "required": false, "type": "object",
"javaType":
"java.util.Comparator<org.apache.camel.component.file.GenericFile<com.azure.storage.file.share.models.ShareFileItem>>",
"deprecated": false, "autowired": false, "secret": false, "description":
"Pluggable sorter as a java.util.Comparator class." }
diff --git
a/components/camel-azure/camel-azure-files/src/main/docs/azure-files-component.adoc
b/components/camel-azure/camel-azure-files/src/main/docs/azure-files-component.adoc
index ba30288db8b..0adc89f6843 100644
---
a/components/camel-azure/camel-azure-files/src/main/docs/azure-files-component.adoc
+++
b/components/camel-azure/camel-azure-files/src/main/docs/azure-files-component.adoc
@@ -3,8 +3,8 @@
:shortname: azure-files
:artifactid: camel-azure-files
:description: Camel Azure Files Component
-:since: 3.21
-:supportlevel: Stable
+:since: 3.22
+:supportlevel: Preview
:tabs-sync-option:
:component-header: Both producer and consumer are supported
//Manually maintained attributes
diff --git
a/components/camel-azure/camel-azure-files/src/main/java/org/apache/camel/component/file/azure/FilesEndpoint.java
b/components/camel-azure/camel-azure-files/src/main/java/org/apache/camel/component/file/azure/FilesEndpoint.java
index e2cce3770df..c8350f88193 100644
---
a/components/camel-azure/camel-azure-files/src/main/java/org/apache/camel/component/file/azure/FilesEndpoint.java
+++
b/components/camel-azure/camel-azure-files/src/main/java/org/apache/camel/component/file/azure/FilesEndpoint.java
@@ -34,9 +34,8 @@ import org.apache.camel.spi.UriEndpoint;
import org.apache.camel.spi.UriParam;
import org.apache.camel.util.ObjectHelper;
-// , extendsScheme = "file" in FTPS but AzureBlob does not have it
-@UriEndpoint(firstVersion = "3.21.0", scheme = FilesComponent.SCHEME,
extendsScheme = "file", title = "Azure Files",
- syntax = FilesComponent.SCHEME + "://account/share", category = {
+@UriEndpoint(firstVersion = "3.22.0", scheme = FilesComponent.SCHEME,
extendsScheme = "file", title = "Azure Files",
+ syntax = FilesComponent.SCHEME + ":account/share", category = {
Category.CLOUD, Category.FILE },
headersClass = FilesHeaders.class)
@Metadata(excludeProperties =
"appendChars,readLockIdempotentReleaseAsync,readLockIdempotentReleaseAsyncPoolSize,"
@@ -53,10 +52,8 @@ public class FilesEndpoint extends
RemoteFileEndpoint<ShareFileItem> {
// camel-package-maven-plugin: Missing @UriPath on endpoint
@UriParam
protected FilesConfiguration configuration;
-
@UriParam
protected FilesToken token = new FilesToken();
-
@UriParam(label = "consumer")
protected boolean resumeDownload;
@@ -71,7 +68,6 @@ public class FilesEndpoint extends
RemoteFileEndpoint<ShareFileItem> {
@Override
public String getScheme() {
- // TODO or name of component bean?
return FilesComponent.SCHEME;
}
@@ -130,7 +126,7 @@ public class FilesEndpoint extends
RemoteFileEndpoint<ShareFileItem> {
@Override
public void setConfiguration(GenericFileConfiguration configuration) {
- if (configuration == null || !(configuration instanceof
FilesConfiguration)) {
+ if (!(configuration instanceof FilesConfiguration)) {
throw new IllegalArgumentException("FilesConfiguration expected.");
}
super.setConfiguration(configuration);
diff --git
a/components/camel-azure/camel-azure-files/src/main/java/org/apache/camel/component/file/azure/FilesToken.java
b/components/camel-azure/camel-azure-files/src/main/java/org/apache/camel/component/file/azure/FilesToken.java
index bfcd61ae89c..2a718d758d1 100644
---
a/components/camel-azure/camel-azure-files/src/main/java/org/apache/camel/component/file/azure/FilesToken.java
+++
b/components/camel-azure/camel-azure-files/src/main/java/org/apache/camel/component/file/azure/FilesToken.java
@@ -36,30 +36,29 @@ import org.apache.camel.spi.UriParams;
@UriParams
final class FilesToken {
- @UriParam(label = "both", description = "part of SAS token", secret = true)
- protected String sv;
- @UriParam(label = "both", description = "part of account SAS token",
secret = true)
- protected String ss;
- @UriParam(label = "both", description = "part of SAS token", secret = true)
- protected String srt;
- @UriParam(label = "both", description = "part of SAS token", secret = true)
- protected String sp;
- @UriParam(label = "both", description = "part of SAS token", secret = true)
- protected String se;
- @UriParam(label = "both", description = "part of SAS token", secret = true)
- protected String st;
- @UriParam(label = "both", description = "part of SAS token", secret = true)
- protected String spr;
- @UriParam(label = "both", description = "part of SAS token", secret = true)
- protected String sig;
-
- @UriParam(label = "both", description = "part of service SAS token",
secret = true)
+ @UriParam(label = "security", description = "part of SAS token", secret =
true)
+ private String sv;
+ @UriParam(label = "security", description = "part of account SAS token",
secret = true)
+ private String ss;
+ @UriParam(label = "security", description = "part of SAS token", secret =
true)
+ private String srt;
+ @UriParam(label = "security", description = "part of SAS token", secret =
true)
+ private String sp;
+ @UriParam(label = "security", description = "part of SAS token", secret =
true)
+ private String se;
+ @UriParam(label = "security", description = "part of SAS token", secret =
true)
+ private String st;
+ @UriParam(label = "security", description = "part of SAS token", secret =
true)
+ private String spr;
+ @UriParam(label = "security", description = "part of SAS token", secret =
true)
+ private String sig;
+ @UriParam(label = "security", description = "part of service SAS token",
secret = true)
private String si;
- @UriParam(label = "both", description = "part of service SAS token",
secret = true)
+ @UriParam(label = "security", description = "part of service SAS token",
secret = true)
private String sr;
- @UriParam(label = "both", description = "part of service SAS token",
secret = true)
+ @UriParam(label = "security", description = "part of service SAS token",
secret = true)
private String sdd;
- @UriParam(label = "both", description = "part of SAS token", secret = true)
+ @UriParam(label = "security", description = "part of SAS token", secret =
true)
private String sip;
public void setSv(String sv) {