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 341aa68cf15 Regen
341aa68cf15 is described below

commit 341aa68cf1535317fa86cf21e7ec104c3b079f67
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Wed Jan 31 14:47:25 2024 +0100

    Regen
---
 .../org/apache/camel/springboot/catalog/languages/xpath.json |  7 ++++---
 .../apache/camel/springboot/catalog/languages/xquery.json    |  7 ++++---
 .../apache/camel/springboot/catalog/languages/xtokenize.json |  7 ++++---
 .../camel-core-starter/src/main/docs/core.json               |  6 ++++++
 .../tokenizer/springboot/TokenizeLanguageConfiguration.java  | 12 ++++++++++++
 .../camel-saxon-starter/src/main/docs/saxon.json             |  6 ++++++
 .../xquery/springboot/XQueryLanguageConfiguration.java       | 12 ++++++++++++
 .../camel-stax-starter/src/main/docs/stax.json               |  6 ++++++
 .../springboot/XMLTokenizeLanguageConfiguration.java         | 12 ++++++++++++
 .../camel-xpath-starter/src/main/docs/xpath.json             |  6 ++++++
 .../xpath/springboot/XPathLanguageConfiguration.java         | 12 ++++++++++++
 11 files changed, 84 insertions(+), 9 deletions(-)

diff --git 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/xpath.json
 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/xpath.json
index a6b64779153..0ef93be0c04 100644
--- 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/xpath.json
+++ 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/xpath.json
@@ -27,8 +27,9 @@
     "threadSafety": { "index": 8, "kind": "attribute", "displayName": "Thread 
Safety", "label": "advanced", "required": false, "type": "boolean", "javaType": 
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "description": "Whether to enable thread-safety for the 
returned result of the xpath expression. This applies to when using NODESET as 
the result type, and the returned set has multiple elements. In this situation 
there can be threa [...]
     "preCompile": { "index": 9, "kind": "attribute", "displayName": "Pre 
Compile", "label": "advanced", "required": false, "type": "boolean", 
"javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": true, "description": "Whether to enable 
pre-compiling the xpath expression during initialization phase. pre-compile is 
enabled by default. This can be used to turn off, for example in cases the 
compilation phase is desired at the starting phas [...]
     "namespace": { "index": 10, "kind": "element", "displayName": "Namespace", 
"label": "common", "required": false, "type": "array", "javaType": 
"java.util.List<org.apache.camel.model.PropertyDefinition>", "deprecated": 
false, "autowired": false, "secret": false, "description": "Injects the XML 
Namespaces of prefix - uri mappings" },
-    "headerName": { "index": 11, "kind": "attribute", "displayName": "Header 
Name", "label": "advanced", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Name of header to use as input, instead of the message body It 
has as higher precedent than the propertyName if both are set." },
-    "propertyName": { "index": 12, "kind": "attribute", "displayName": 
"Property Name", "label": "advanced", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "description": "Name of property to use as input, instead of 
the message body. It has a lower precedent than the headerName if both are 
set." },
-    "trim": { "index": 13, "kind": "attribute", "displayName": "Trim", 
"label": "advanced", "required": false, "type": "boolean", "javaType": 
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": true, "description": "Whether to trim the value to remove 
leading and trailing whitespaces and line breaks" }
+    "variableName": { "index": 11, "kind": "attribute", "displayName": 
"Variable Name", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Name of variable to use as input, instead of the message body" 
},
+    "headerName": { "index": 12, "kind": "attribute", "displayName": "Header 
Name", "label": "advanced", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Name of header to use as input, instead of the message body It 
has as higher precedent than the propertyName if both are set." },
+    "propertyName": { "index": 13, "kind": "attribute", "displayName": 
"Property Name", "label": "advanced", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "description": "Name of property to use as input, instead of 
the message body. It has a lower precedent than the headerName if both are 
set." },
+    "trim": { "index": 14, "kind": "attribute", "displayName": "Trim", 
"label": "advanced", "required": false, "type": "boolean", "javaType": 
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": true, "description": "Whether to trim the value to remove 
leading and trailing whitespaces and line breaks" }
   }
 }
diff --git 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/xquery.json
 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/xquery.json
index ca4a1ff64ff..45f2fadd972 100644
--- 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/xquery.json
+++ 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/xquery.json
@@ -22,8 +22,9 @@
     "type": { "index": 3, "kind": "attribute", "displayName": "Type", 
"required": false, "type": "string", "javaType": "java.lang.String", 
"deprecated": false, "autowired": false, "secret": false, "description": "Sets 
the class name of the result type (type from output) The default result type is 
NodeSet" },
     "configurationRef": { "index": 4, "kind": "attribute", "displayName": 
"Configuration Ref", "label": "advanced", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "description": "Reference to a saxon configuration instance in 
the registry to use for xquery (requires camel-saxon). This may be needed to 
add custom functions to a saxon configuration, so these custom functions can be 
used in xquery expressions." },
     "namespace": { "index": 5, "kind": "element", "displayName": "Namespace", 
"label": "common", "required": false, "type": "array", "javaType": 
"java.util.List<org.apache.camel.model.PropertyDefinition>", "deprecated": 
false, "autowired": false, "secret": false, "description": "Injects the XML 
Namespaces of prefix - uri mappings" },
-    "headerName": { "index": 6, "kind": "attribute", "displayName": "Header 
Name", "label": "advanced", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Name of header to use as input, instead of the message body It 
has as higher precedent than the propertyName if both are set." },
-    "propertyName": { "index": 7, "kind": "attribute", "displayName": 
"Property Name", "label": "advanced", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "description": "Name of property to use as input, instead of 
the message body. It has a lower precedent than the headerName if both are 
set." },
-    "trim": { "index": 8, "kind": "attribute", "displayName": "Trim", "label": 
"advanced", "required": false, "type": "boolean", "javaType": 
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": true, "description": "Whether to trim the value to remove 
leading and trailing whitespaces and line breaks" }
+    "variableName": { "index": 6, "kind": "attribute", "displayName": 
"Variable Name", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Name of variable to use as input, instead of the message body" 
},
+    "headerName": { "index": 7, "kind": "attribute", "displayName": "Header 
Name", "label": "advanced", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Name of header to use as input, instead of the message body It 
has as higher precedent than the propertyName if both are set." },
+    "propertyName": { "index": 8, "kind": "attribute", "displayName": 
"Property Name", "label": "advanced", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "description": "Name of property to use as input, instead of 
the message body. It has a lower precedent than the headerName if both are 
set." },
+    "trim": { "index": 9, "kind": "attribute", "displayName": "Trim", "label": 
"advanced", "required": false, "type": "boolean", "javaType": 
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": true, "description": "Whether to trim the value to remove 
leading and trailing whitespaces and line breaks" }
   }
 }
diff --git 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/xtokenize.json
 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/xtokenize.json
index 4f6eb7a2eba..f6794e32e64 100644
--- 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/xtokenize.json
+++ 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/xtokenize.json
@@ -21,8 +21,9 @@
     "mode": { "index": 2, "kind": "attribute", "displayName": "Mode", 
"required": false, "type": "enum", "javaType": "java.lang.String", "enum": [ 
"i", "w", "u", "t" ], "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": "i", "description": "The extraction mode. The available 
extraction modes are: i - injecting the contextual namespace bindings into the 
extracted token (default) w - wrapping the extracted token in its ancestor 
context u - unwrapping the extracted to [...]
     "group": { "index": 3, "kind": "attribute", "displayName": "Group", 
"required": false, "type": "integer", "javaType": "java.lang.Integer", 
"deprecated": false, "autowired": false, "secret": false, "description": "To 
group N parts together" },
     "namespace": { "index": 4, "kind": "element", "displayName": "Namespace", 
"label": "common", "required": false, "type": "array", "javaType": 
"java.util.List<org.apache.camel.model.PropertyDefinition>", "deprecated": 
false, "autowired": false, "secret": false, "description": "Injects the XML 
Namespaces of prefix - uri mappings" },
-    "headerName": { "index": 5, "kind": "attribute", "displayName": "Header 
Name", "label": "advanced", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Name of header to use as input, instead of the message body It 
has as higher precedent than the propertyName if both are set." },
-    "propertyName": { "index": 6, "kind": "attribute", "displayName": 
"Property Name", "label": "advanced", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "description": "Name of property to use as input, instead of 
the message body. It has a lower precedent than the headerName if both are 
set." },
-    "trim": { "index": 7, "kind": "attribute", "displayName": "Trim", "label": 
"advanced", "required": false, "type": "boolean", "javaType": 
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": true, "description": "Whether to trim the value to remove 
leading and trailing whitespaces and line breaks" }
+    "variableName": { "index": 5, "kind": "attribute", "displayName": 
"Variable Name", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Name of variable to use as input, instead of the message body" 
},
+    "headerName": { "index": 6, "kind": "attribute", "displayName": "Header 
Name", "label": "advanced", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Name of header to use as input, instead of the message body It 
has as higher precedent than the propertyName if both are set." },
+    "propertyName": { "index": 7, "kind": "attribute", "displayName": 
"Property Name", "label": "advanced", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "description": "Name of property to use as input, instead of 
the message body. It has a lower precedent than the headerName if both are 
set." },
+    "trim": { "index": 8, "kind": "attribute", "displayName": "Trim", "label": 
"advanced", "required": false, "type": "boolean", "javaType": 
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": true, "description": "Whether to trim the value to remove 
leading and trailing whitespaces and line breaks" }
   }
 }
diff --git a/components-starter/camel-core-starter/src/main/docs/core.json 
b/components-starter/camel-core-starter/src/main/docs/core.json
index f2f0c3ac2d1..62db55994a5 100644
--- a/components-starter/camel-core-starter/src/main/docs/core.json
+++ b/components-starter/camel-core-starter/src/main/docs/core.json
@@ -523,6 +523,12 @@
       "sourceType": 
"org.apache.camel.language.tokenizer.springboot.TokenizeLanguageConfiguration",
       "defaultValue": true
     },
+    {
+      "name": "camel.language.tokenize.variable-name",
+      "type": "java.lang.String",
+      "description": "Name of variable to use as input, instead of the message 
body",
+      "sourceType": 
"org.apache.camel.language.tokenizer.springboot.TokenizeLanguageConfiguration"
+    },
     {
       "name": "camel.language.variable.customizer.enabled",
       "type": "java.lang.Boolean",
diff --git 
a/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/tokenizer/springboot/TokenizeLanguageConfiguration.java
 
b/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/tokenizer/springboot/TokenizeLanguageConfiguration.java
index 23ecbda11f1..a0190236905 100644
--- 
a/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/tokenizer/springboot/TokenizeLanguageConfiguration.java
+++ 
b/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/tokenizer/springboot/TokenizeLanguageConfiguration.java
@@ -39,6 +39,10 @@ public class TokenizeLanguageConfiguration
      * token will be used as the delimiter.
      */
     private String groupDelimiter;
+    /**
+     * Name of variable to use as input, instead of the message body
+     */
+    private String variableName;
     /**
      * Name of property to use as input, instead of the message body. It has a
      * lower precedent than the headerName if both are set.
@@ -58,6 +62,14 @@ public class TokenizeLanguageConfiguration
         this.groupDelimiter = groupDelimiter;
     }
 
+    public String getVariableName() {
+        return variableName;
+    }
+
+    public void setVariableName(String variableName) {
+        this.variableName = variableName;
+    }
+
     public String getPropertyName() {
         return propertyName;
     }
diff --git a/components-starter/camel-saxon-starter/src/main/docs/saxon.json 
b/components-starter/camel-saxon-starter/src/main/docs/saxon.json
index 934beb42140..1daed9a8c4c 100644
--- a/components-starter/camel-saxon-starter/src/main/docs/saxon.json
+++ b/components-starter/camel-saxon-starter/src/main/docs/saxon.json
@@ -115,6 +115,12 @@
       "type": "java.lang.String",
       "description": "Sets the class name of the result type (type from 
output) The default result type is NodeSet",
       "sourceType": 
"org.apache.camel.language.xquery.springboot.XQueryLanguageConfiguration"
+    },
+    {
+      "name": "camel.language.xquery.variable-name",
+      "type": "java.lang.String",
+      "description": "Name of variable to use as input, instead of the message 
body",
+      "sourceType": 
"org.apache.camel.language.xquery.springboot.XQueryLanguageConfiguration"
     }
   ],
   "hints": []
diff --git 
a/components-starter/camel-saxon-starter/src/main/java/org/apache/camel/language/xquery/springboot/XQueryLanguageConfiguration.java
 
b/components-starter/camel-saxon-starter/src/main/java/org/apache/camel/language/xquery/springboot/XQueryLanguageConfiguration.java
index b1b2d3c92b7..bf147bc24ec 100644
--- 
a/components-starter/camel-saxon-starter/src/main/java/org/apache/camel/language/xquery/springboot/XQueryLanguageConfiguration.java
+++ 
b/components-starter/camel-saxon-starter/src/main/java/org/apache/camel/language/xquery/springboot/XQueryLanguageConfiguration.java
@@ -52,6 +52,10 @@ public class XQueryLanguageConfiguration
      * Injects the XML Namespaces of prefix - uri mappings
      */
     private List<PropertyDefinition> namespace;
+    /**
+     * Name of variable to use as input, instead of the message body
+     */
+    private String variableName;
     /**
      * Name of property to use as input, instead of the message body. It has a
      * lower precedent than the headerName if both are set.
@@ -87,6 +91,14 @@ public class XQueryLanguageConfiguration
         this.namespace = namespace;
     }
 
+    public String getVariableName() {
+        return variableName;
+    }
+
+    public void setVariableName(String variableName) {
+        this.variableName = variableName;
+    }
+
     public String getPropertyName() {
         return propertyName;
     }
diff --git a/components-starter/camel-stax-starter/src/main/docs/stax.json 
b/components-starter/camel-stax-starter/src/main/docs/stax.json
index e0a86f4c9a2..2840ce1a9f6 100644
--- a/components-starter/camel-stax-starter/src/main/docs/stax.json
+++ b/components-starter/camel-stax-starter/src/main/docs/stax.json
@@ -85,6 +85,12 @@
       "description": "Whether to trim the value to remove leading and trailing 
whitespaces and line breaks",
       "sourceType": 
"org.apache.camel.language.xtokenizer.springboot.XMLTokenizeLanguageConfiguration",
       "defaultValue": true
+    },
+    {
+      "name": "camel.language.xtokenize.variable-name",
+      "type": "java.lang.String",
+      "description": "Name of variable to use as input, instead of the message 
body",
+      "sourceType": 
"org.apache.camel.language.xtokenizer.springboot.XMLTokenizeLanguageConfiguration"
     }
   ],
   "hints": []
diff --git 
a/components-starter/camel-stax-starter/src/main/java/org/apache/camel/language/xtokenizer/springboot/XMLTokenizeLanguageConfiguration.java
 
b/components-starter/camel-stax-starter/src/main/java/org/apache/camel/language/xtokenizer/springboot/XMLTokenizeLanguageConfiguration.java
index b4d4fcd52fc..653dfe8fa81 100644
--- 
a/components-starter/camel-stax-starter/src/main/java/org/apache/camel/language/xtokenizer/springboot/XMLTokenizeLanguageConfiguration.java
+++ 
b/components-starter/camel-stax-starter/src/main/java/org/apache/camel/language/xtokenizer/springboot/XMLTokenizeLanguageConfiguration.java
@@ -48,6 +48,10 @@ public class XMLTokenizeLanguageConfiguration
      * Injects the XML Namespaces of prefix - uri mappings
      */
     private List<PropertyDefinition> namespace;
+    /**
+     * Name of variable to use as input, instead of the message body
+     */
+    private String variableName;
     /**
      * Name of property to use as input, instead of the message body. It has a
      * lower precedent than the headerName if both are set.
@@ -75,6 +79,14 @@ public class XMLTokenizeLanguageConfiguration
         this.namespace = namespace;
     }
 
+    public String getVariableName() {
+        return variableName;
+    }
+
+    public void setVariableName(String variableName) {
+        this.variableName = variableName;
+    }
+
     public String getPropertyName() {
         return propertyName;
     }
diff --git a/components-starter/camel-xpath-starter/src/main/docs/xpath.json 
b/components-starter/camel-xpath-starter/src/main/docs/xpath.json
index 89f93b9b1a8..80d650bf333 100644
--- a/components-starter/camel-xpath-starter/src/main/docs/xpath.json
+++ b/components-starter/camel-xpath-starter/src/main/docs/xpath.json
@@ -88,6 +88,12 @@
       "description": "Whether to trim the value to remove leading and trailing 
whitespaces and line breaks",
       "sourceType": 
"org.apache.camel.language.xpath.springboot.XPathLanguageConfiguration",
       "defaultValue": true
+    },
+    {
+      "name": "camel.language.xpath.variable-name",
+      "type": "java.lang.String",
+      "description": "Name of variable to use as input, instead of the message 
body",
+      "sourceType": 
"org.apache.camel.language.xpath.springboot.XPathLanguageConfiguration"
     }
   ],
   "hints": []
diff --git 
a/components-starter/camel-xpath-starter/src/main/java/org/apache/camel/language/xpath/springboot/XPathLanguageConfiguration.java
 
b/components-starter/camel-xpath-starter/src/main/java/org/apache/camel/language/xpath/springboot/XPathLanguageConfiguration.java
index 045c70d8f78..c13289b5d9c 100644
--- 
a/components-starter/camel-xpath-starter/src/main/java/org/apache/camel/language/xpath/springboot/XPathLanguageConfiguration.java
+++ 
b/components-starter/camel-xpath-starter/src/main/java/org/apache/camel/language/xpath/springboot/XPathLanguageConfiguration.java
@@ -81,6 +81,10 @@ public class XPathLanguageConfiguration
      * Injects the XML Namespaces of prefix - uri mappings
      */
     private List<PropertyDefinition> namespace;
+    /**
+     * Name of variable to use as input, instead of the message body
+     */
+    private String variableName;
     /**
      * Name of property to use as input, instead of the message body. It has a
      * lower precedent than the headerName if both are set.
@@ -156,6 +160,14 @@ public class XPathLanguageConfiguration
         this.namespace = namespace;
     }
 
+    public String getVariableName() {
+        return variableName;
+    }
+
+    public void setVariableName(String variableName) {
+        this.variableName = variableName;
+    }
+
     public String getPropertyName() {
         return propertyName;
     }

Reply via email to