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 17ea5b201aa CAMEL-22043: camel-smb - Configure path in context-path to 
be more similar to other file based components
17ea5b201aa is described below

commit 17ea5b201aa0a3de038406ff3e8c6c5784abe887
Author: Claus Ibsen <[email protected]>
AuthorDate: Tue May 6 16:08:03 2025 +0200

    CAMEL-22043: camel-smb - Configure path in context-path to be more similar 
to other file based components
---
 .../org/apache/camel/springboot/catalog/components/smb.json  | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/smb.json
 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/smb.json
index a798cc6a037..0885e332339 100644
--- 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/smb.json
+++ 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/smb.json
@@ -14,7 +14,7 @@
     "version": "4.12.0-SNAPSHOT",
     "scheme": "smb",
     "extendsScheme": "",
-    "syntax": "smb:hostname:port\/shareName",
+    "syntax": "smb:hostname:port\/shareName\/path",
     "async": false,
     "api": false,
     "consumerOnly": false,
@@ -53,11 +53,11 @@
     "hostname": { "index": 0, "kind": "path", "displayName": "Hostname", 
"group": "common", "label": "", "required": true, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.smb.SmbConfiguration", "configurationField": 
"configuration", "description": "The share hostname or IP address" },
     "port": { "index": 1, "kind": "path", "displayName": "Port", "group": 
"common", "label": "", "required": false, "type": "integer", "javaType": "int", 
"deprecated": false, "autowired": false, "secret": false, "defaultValue": 445, 
"configurationClass": "org.apache.camel.component.smb.SmbConfiguration", 
"configurationField": "configuration", "description": "The share port number" },
     "shareName": { "index": 2, "kind": "path", "displayName": "Share Name", 
"group": "common", "label": "", "required": true, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.smb.SmbConfiguration", "configurationField": 
"configuration", "description": "The name of the share directory" },
-    "charset": { "index": 3, "kind": "parameter", "displayName": "Charset", 
"group": "common", "label": "", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "description": "This option is used to specify the encoding of 
the file. You can use this on the consumer, to specify the encodings of the 
files, which allow Camel to know the charset it should load the file content in 
case the file content is being accesse [...]
-    "disconnect": { "index": 4, "kind": "parameter", "displayName": 
"Disconnect", "group": "common", "label": "common", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.smb.SmbConfiguration", "configurationField": 
"configuration", "description": "Whether or not to disconnect from remote SMB 
share right after use. Disconnect will only disconnect th [...]
-    "doneFileName": { "index": 5, "kind": "parameter", "displayName": "Done 
File Name", "group": "common", "label": "", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": false, "description": "Producer: If provided, then Camel will 
write a 2nd done file when the original file has been written. The done file 
will be empty. This option configures what file name to use. Either you can 
specify a fixed name. Or you can use  [...]
-    "fileName": { "index": 6, "kind": "parameter", "displayName": "File Name", 
"group": "common", "label": "", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "description": "Use Expression such as File Language to 
dynamically set the filename. For consumers, it's used as a filename filter. 
For producers, it's used to evaluate the filename to write. If an expression is 
set, it take precedence over the CamelFil [...]
-    "path": { "index": 7, "kind": "parameter", "displayName": "Path", "group": 
"common", "label": "common", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"configurationClass": "org.apache.camel.component.smb.SmbConfiguration", 
"configurationField": "configuration", "description": "The base directory 
within the share" },
+    "path": { "index": 3, "kind": "path", "displayName": "Path", "group": 
"common", "label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"configurationClass": "org.apache.camel.component.smb.SmbConfiguration", 
"configurationField": "configuration", "description": "The base directory 
within the share" },
+    "charset": { "index": 4, "kind": "parameter", "displayName": "Charset", 
"group": "common", "label": "", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "description": "This option is used to specify the encoding of 
the file. You can use this on the consumer, to specify the encodings of the 
files, which allow Camel to know the charset it should load the file content in 
case the file content is being accesse [...]
+    "disconnect": { "index": 5, "kind": "parameter", "displayName": 
"Disconnect", "group": "common", "label": "common", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.smb.SmbConfiguration", "configurationField": 
"configuration", "description": "Whether or not to disconnect from remote SMB 
share right after use. Disconnect will only disconnect th [...]
+    "doneFileName": { "index": 6, "kind": "parameter", "displayName": "Done 
File Name", "group": "common", "label": "", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": false, "description": "Producer: If provided, then Camel will 
write a 2nd done file when the original file has been written. The done file 
will be empty. This option configures what file name to use. Either you can 
specify a fixed name. Or you can use  [...]
+    "fileName": { "index": 7, "kind": "parameter", "displayName": "File Name", 
"group": "common", "label": "", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "description": "Use Expression such as File Language to 
dynamically set the filename. For consumers, it's used as a filename filter. 
For producers, it's used to evaluate the filename to write. If an expression is 
set, it take precedence over the CamelFil [...]
     "delete": { "index": 8, "kind": "parameter", "displayName": "Delete", 
"group": "consumer", "label": "consumer", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": false, "description": "If true, the file will be deleted 
after it is processed successfully." },
     "moveFailed": { "index": 9, "kind": "parameter", "displayName": "Move 
Failed", "group": "consumer", "label": "consumer", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": false, "description": "Sets the move failure expression based 
on Simple language. For example, to move files into a .error subdirectory use: 
.error. Note: When moving the files to the fail location Camel will handle the 
error and will not pick up  [...]
     "noop": { "index": 10, "kind": "parameter", "displayName": "Noop", 
"group": "consumer", "label": "consumer", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": false, "description": "If true, the file is not moved or 
deleted in any way. This option is good for readonly data, or for ETL type 
requirements. If noop=true, Camel will set idempotent=true as well, to avoid 
consuming the same files over and o [...]

Reply via email to