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-spring-boot.git


The following commit(s) were added to refs/heads/main by this push:
     new 0c93baee134 camel-azure-files: add more constant headers
0c93baee134 is described below

commit 0c93baee1347474ce45035c839614ffd9de74b6d
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Mon Jan 6 15:16:32 2025 +0100

    camel-azure-files: add more constant headers
---
 .../springboot/catalog/components/azure-files.json | 23 ++++++++++++++--------
 1 file changed, 15 insertions(+), 8 deletions(-)

diff --git 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/azure-files.json
 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/azure-files.json
index 5bca48cc36b..b5bfbb765d8 100644
--- 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/azure-files.json
+++ 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/azure-files.json
@@ -31,14 +31,21 @@
     "healthCheckProducerEnabled": { "index": 4, "kind": "property", 
"displayName": "Health Check Producer Enabled", "group": "health", "label": 
"health", "required": false, "type": "boolean", "javaType": "boolean", 
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true, 
"description": "Used for enabling or disabling all producer based health checks 
from this component. Notice: Camel has by default disabled all producer based 
health-checks. You can turn on producer [...]
   },
   "headers": {
-    "CamelFileLength": { "index": 0, "kind": "header", "displayName": "", 
"group": "both", "label": "both", "required": false, "javaType": "long", 
"deprecated": false, "deprecationNote": "", "autowired": false, "secret": 
false, "description": "A long value containing the file size. For producer, 
known length helps if the body converts to InputStream more efficiently than to 
bytes array.", "constantName": 
"org.apache.camel.component.file.azure.FilesHeaders#FILE_LENGTH" },
-    "CamelFileLastModified": { "index": 1, "kind": "header", "displayName": 
"", "group": "consumer", "label": "consumer", "required": false, "javaType": 
"long", "deprecated": false, "deprecationNote": "", "autowired": false, 
"secret": false, "description": "A Long value containing the last modified 
timestamp of the file.", "constantName": 
"org.apache.camel.component.file.azure.FilesHeaders#FILE_LAST_MODIFIED" },
-    "CamelFileName": { "index": 2, "kind": "header", "displayName": "", 
"group": "common", "label": "", "required": false, "javaType": "String", 
"deprecated": false, "deprecationNote": "", "autowired": false, "secret": 
false, "description": "Specifies the output file name (relative to the endpoint 
directory) to be used for the output message when sending to the endpoint. If 
this is not present and no expression either, then a generated message ID is 
used as the filename instead.", "const [...]
-    "CamelFileNameOnly": { "index": 3, "kind": "header", "displayName": "", 
"group": "common", "label": "", "required": false, "javaType": "String", 
"deprecated": false, "deprecationNote": "", "autowired": false, "secret": 
false, "description": "Only the file name (the name with no leading paths).", 
"constantName": 
"org.apache.camel.component.file.azure.FilesHeaders#FILE_NAME_ONLY" },
-    "CamelFileParent": { "index": 4, "kind": "header", "displayName": "", 
"group": "common", "label": "", "required": false, "javaType": "String", 
"deprecated": false, "deprecationNote": "", "autowired": false, "secret": 
false, "description": "The parent path.", "constantName": 
"org.apache.camel.component.file.azure.FilesHeaders#FILE_PARENT" },
-    "CamelRemoteFileInputStream": { "index": 5, "kind": "header", 
"displayName": "", "group": "common", "label": "", "required": false, 
"javaType": "java.io.InputStream", "deprecated": false, "deprecationNote": "", 
"autowired": false, "secret": false, "description": "The remote file input 
stream.", "constantName": 
"org.apache.camel.component.file.azure.FilesHeaders#REMOTE_FILE_INPUT_STREAM" },
-    "CamelFileLocalWorkPath": { "index": 6, "kind": "header", "displayName": 
"", "group": "common", "label": "", "required": false, "javaType": "String", 
"deprecated": false, "deprecationNote": "", "autowired": false, "secret": 
false, "description": "Path to the local work file, if local work directory is 
used.", "constantName": 
"org.apache.camel.component.file.azure.FilesHeaders#FILE_LOCAL_WORK_PATH" },
-    "CamelFileHost": { "index": 7, "kind": "header", "displayName": "", 
"group": "common", "label": "", "required": false, "javaType": "String", 
"deprecated": false, "deprecationNote": "", "autowired": false, "secret": 
false, "description": "The remote hostname.", "constantName": 
"org.apache.camel.component.file.azure.FilesHeaders#FILE_HOST" }
+    "CamelFileLength": { "index": 0, "kind": "header", "displayName": "", 
"group": "consumer", "label": "consumer", "required": false, "javaType": 
"long", "deprecated": false, "deprecationNote": "", "autowired": false, 
"secret": false, "description": "A long value containing the file size.", 
"constantName": 
"org.apache.camel.component.file.azure.FilesConstants#FILE_LENGTH" },
+    "CamelFileLastModified": { "index": 1, "kind": "header", "displayName": 
"", "group": "consumer", "label": "consumer", "required": false, "javaType": 
"long", "deprecated": false, "deprecationNote": "", "autowired": false, 
"secret": false, "description": "A Long value containing the last modified 
timestamp of the file.", "constantName": 
"org.apache.camel.component.file.azure.FilesConstants#FILE_LAST_MODIFIED" },
+    "CamelFileNameOnly": { "index": 2, "kind": "header", "displayName": "", 
"group": "consumer", "label": "consumer", "required": false, "javaType": 
"String", "deprecated": false, "deprecationNote": "", "autowired": false, 
"secret": false, "description": "Only the file name (the name with no leading 
paths).", "constantName": 
"org.apache.camel.component.file.azure.FilesConstants#FILE_NAME_ONLY" },
+    "CamelFileName": { "index": 3, "kind": "header", "displayName": "", 
"group": "common", "label": "", "required": false, "javaType": "String", 
"deprecated": false, "deprecationNote": "", "autowired": false, "secret": 
false, "description": "(producer) Specifies the name of the file to write 
(relative to the endpoint directory). This name can be a String; a String with 
a file or simple Language expression; or an Expression object. If it's null 
then Camel will auto-generate a filename bas [...]
+    "CamelFileNameConsumed": { "index": 4, "kind": "header", "displayName": 
"", "group": "consumer", "label": "consumer", "required": false, "javaType": 
"String", "deprecated": false, "deprecationNote": "", "autowired": false, 
"secret": false, "description": "The name of the file that has been consumed", 
"constantName": 
"org.apache.camel.component.file.azure.FilesConstants#FILE_NAME_CONSUMED" },
+    "CamelFileAbsolute": { "index": 5, "kind": "header", "displayName": "", 
"group": "consumer", "label": "consumer", "required": false, "javaType": 
"Boolean", "deprecated": false, "deprecationNote": "", "autowired": false, 
"secret": false, "description": "A boolean option specifying whether the 
consumed file denotes an absolute path or not. Should normally be false for 
relative paths. Absolute paths should normally not be used but we added to the 
move option to allow moving files to abs [...]
+    "CamelFileAbsolutePath": { "index": 6, "kind": "header", "displayName": 
"", "group": "consumer", "label": "consumer", "required": false, "javaType": 
"String", "deprecated": false, "deprecationNote": "", "autowired": false, 
"secret": false, "description": "The absolute path to the file. For relative 
files this path holds the relative path instead.", "constantName": 
"org.apache.camel.component.file.azure.FilesConstants#FILE_ABSOLUTE_PATH" },
+    "CamelFilePath": { "index": 7, "kind": "header", "displayName": "", 
"group": "consumer", "label": "consumer", "required": false, "javaType": 
"String", "deprecated": false, "deprecationNote": "", "autowired": false, 
"secret": false, "description": "The file path. For relative files this is the 
starting directory. For absolute files this is the absolute path.", 
"constantName": 
"org.apache.camel.component.file.azure.FilesConstants#FILE_PATH" },
+    "CamelFileRelativePath": { "index": 8, "kind": "header", "displayName": 
"", "group": "consumer", "label": "consumer", "required": false, "javaType": 
"String", "deprecated": false, "deprecationNote": "", "autowired": false, 
"secret": false, "description": "The relative path.", "constantName": 
"org.apache.camel.component.file.azure.FilesConstants#FILE_RELATIVE_PATH" },
+    "CamelFileParent": { "index": 9, "kind": "header", "displayName": "", 
"group": "common", "label": "", "required": false, "javaType": "String", 
"deprecated": false, "deprecationNote": "", "autowired": false, "secret": 
false, "description": "The parent path.", "constantName": 
"org.apache.camel.component.file.azure.FilesConstants#FILE_PARENT" },
+    "CamelFileNameProduced": { "index": 10, "kind": "header", "displayName": 
"", "group": "producer", "label": "producer", "required": false, "javaType": 
"String", "deprecated": false, "deprecationNote": "", "autowired": false, 
"secret": false, "description": "The actual absolute filepath (path name) for 
the output file that was written. This header is set by Camel and its purpose 
is providing end-users with the name of the file that was written.", 
"constantName": "org.apache.camel.compo [...]
+    "CamelOverruleFileName": { "index": 11, "kind": "header", "displayName": 
"", "group": "producer", "label": "producer", "required": false, "javaType": 
"Object", "deprecated": false, "deprecationNote": "", "autowired": false, 
"secret": false, "description": "Is used for overruling CamelFileName header 
and use the value instead (but only once, as the producer will remove this 
header after writing the file). The value can be only be a String. Notice that 
if the option fileName has been c [...]
+    "CamelRemoteFileInputStream": { "index": 12, "kind": "header", 
"displayName": "", "group": "common", "label": "", "required": false, 
"javaType": "java.io.InputStream", "deprecated": false, "deprecationNote": "", 
"autowired": false, "secret": false, "description": "The remote file input 
stream.", "constantName": 
"org.apache.camel.component.file.azure.FilesConstants#REMOTE_FILE_INPUT_STREAM" 
},
+    "CamelFileLocalWorkPath": { "index": 13, "kind": "header", "displayName": 
"", "group": "common", "label": "", "required": false, "javaType": "String", 
"deprecated": false, "deprecationNote": "", "autowired": false, "secret": 
false, "description": "Path to the local work file, if local work directory is 
used.", "constantName": 
"org.apache.camel.component.file.azure.FilesConstants#FILE_LOCAL_WORK_PATH" },
+    "CamelFileHost": { "index": 14, "kind": "header", "displayName": "", 
"group": "common", "label": "", "required": false, "javaType": "String", 
"deprecated": false, "deprecationNote": "", "autowired": false, "secret": 
false, "description": "The remote hostname.", "constantName": 
"org.apache.camel.component.file.azure.FilesConstants#FILE_HOST" }
   },
   "properties": {
     "account": { "index": 0, "kind": "path", "displayName": "Account", 
"group": "common", "label": "", "required": true, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.file.azure.FilesConfiguration", 
"configurationField": "configuration", "description": "The account to use" },

Reply via email to