This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch camel-spring-boot-3.x
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git


The following commit(s) were added to refs/heads/camel-spring-boot-3.x by this 
push:
     new f17faa39319 [create-pull-request] automated change
f17faa39319 is described below

commit f17faa39319b128ca787e6d93e099c154f05939a
Author: orpiske <orpi...@users.noreply.github.com>
AuthorDate: Sat Mar 4 01:09:26 2023 +0000

    [create-pull-request] automated change
---
 .../org/apache/camel/springboot/catalog/languages/xtokenize.json      | 4 ++--
 components-starter/camel-stax-starter/src/main/docs/stax.json         | 3 ++-
 .../xtokenizer/springboot/XMLTokenizeLanguageConfiguration.java       | 2 +-
 3 files changed, 5 insertions(+), 4 deletions(-)

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 3288548aa30..59688cd3c1c 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
@@ -16,8 +16,8 @@
     "modelJavaType": "org.apache.camel.model.language.XMLTokenizerExpression"
   },
   "properties": {
-    "mode": { "kind": "attribute", "displayName": "Mode", "label": "advanced", 
"required": false, "type": "enum", "javaType": "java.lang.String", "enum": [ 
"i", "w", "u", "t" ], "deprecated": false, "autowired": false, "secret": false, 
"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 token to its c [...]
-    "group": { "kind": "attribute", "displayName": "Group", "label": 
"advanced", "required": false, "type": "integer", "javaType": 
"java.lang.Integer", "deprecated": false, "autowired": false, "secret": false, 
"description": "To group N parts together" },
+    "mode": { "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 token to its c [...]
+    "group": { "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": { "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": { "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": { "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." },
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 4b131b06158..e0a86f4c9a2 100644
--- a/components-starter/camel-stax-starter/src/main/docs/stax.json
+++ b/components-starter/camel-stax-starter/src/main/docs/stax.json
@@ -64,7 +64,8 @@
       "name": "camel.language.xtokenize.mode",
       "type": "java.lang.String",
       "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 token to its child content t - extracting the text 
content of the specified element",
-      "sourceType": 
"org.apache.camel.language.xtokenizer.springboot.XMLTokenizeLanguageConfiguration"
+      "sourceType": 
"org.apache.camel.language.xtokenizer.springboot.XMLTokenizeLanguageConfiguration",
+      "defaultValue": "i"
     },
     {
       "name": "camel.language.xtokenize.namespace",
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 56506cf39cb..978784541ff 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
@@ -45,7 +45,7 @@ public class XMLTokenizeLanguageConfiguration
      * extracted token to its child content t - extracting the text content of
      * the specified element
      */
-    private String mode;
+    private String mode = "i";
     /**
      * Injects the XML Namespaces of prefix - uri mappings
      */

Reply via email to