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 4582ea2c3b0 Regen
4582ea2c3b0 is described below
commit 4582ea2c3b00ae0c5977c24c845237d19345f612
Author: Claus Ibsen <[email protected]>
AuthorDate: Mon Feb 5 07:32:41 2024 +0100
Regen
---
.../camel/springboot/catalog/languages/hl7terser.json | 6 +++---
.../apache/camel/springboot/catalog/languages/jq.json | 6 +++---
.../camel/springboot/catalog/languages/jsonpath.json | 6 +++---
.../apache/camel/springboot/catalog/languages/xpath.json | 9 +++++----
.../camel/springboot/catalog/languages/xquery.json | 15 +++++++--------
.../camel/springboot/catalog/languages/xtokenize.json | 7 ++++---
.../camel-core-starter/src/main/docs/core.json | 2 +-
.../springboot/TokenizeLanguageConfiguration.java | 3 +--
.../camel-hl7-starter/src/main/docs/hl7.json | 6 +++---
.../hl7/springboot/Hl7TerserLanguageConfiguration.java | 9 +++------
.../camel-jq-starter/src/main/docs/jq.json | 6 +++---
.../language/jq/springboot/JqLanguageConfiguration.java | 9 +++------
.../camel-jsonpath-starter/src/main/docs/jsonpath.json | 6 +++---
.../springboot/JsonPathLanguageConfiguration.java | 9 +++------
.../camel-saxon-starter/src/main/docs/saxon.json | 8 +-------
.../xquery/springboot/XQueryLanguageConfiguration.java | 16 +---------------
.../camel-stax-starter/src/main/docs/stax.json | 2 +-
.../springboot/XMLTokenizeLanguageConfiguration.java | 3 +--
.../camel-xpath-starter/src/main/docs/xpath.json | 9 ++++++++-
.../xpath/springboot/XPathLanguageConfiguration.java | 15 +++++++++++++--
20 files changed, 70 insertions(+), 82 deletions(-)
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/hl7terser.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/hl7terser.json
index dbde7168df8..6da582a39aa 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/hl7terser.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/hl7terser.json
@@ -18,9 +18,9 @@
"properties": {
"id": { "index": 0, "kind": "attribute", "displayName": "Id", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "Sets the id of this node"
},
"expression": { "index": 1, "kind": "value", "displayName": "Expression",
"required": true, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "The
expression value in your chosen language syntax" },
- "variableName": { "index": 2, "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
It has as higher precedent if other are set." },
- "headerName": { "index": 3, "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": 4, "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." },
+ "variableName": { "index": 2, "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": 3, "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" },
+ "propertyName": { "index": 4, "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." },
"resultType": { "index": 5, "kind": "attribute", "displayName": "Result
Type", "required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "Sets
the class of the result type (type from output)" },
"trim": { "index": 6, "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/jq.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/jq.json
index b2e76a586af..cb78636b5ef 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/jq.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/jq.json
@@ -18,9 +18,9 @@
"properties": {
"id": { "index": 0, "kind": "attribute", "displayName": "Id", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "Sets the id of this node"
},
"expression": { "index": 1, "kind": "value", "displayName": "Expression",
"required": true, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "The
expression value in your chosen language syntax" },
- "variableName": { "index": 2, "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
It has as higher precedent if other are set." },
- "headerName": { "index": 3, "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": 4, "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." },
+ "variableName": { "index": 2, "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": 3, "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" },
+ "propertyName": { "index": 4, "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." },
"resultType": { "index": 5, "kind": "attribute", "displayName": "Result
Type", "required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "Sets
the class of the result type (type from output)" },
"trim": { "index": 6, "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/jsonpath.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/jsonpath.json
index 2a03988c072..ef157195cf3 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/jsonpath.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/jsonpath.json
@@ -24,9 +24,9 @@
"writeAsString": { "index": 5, "kind": "attribute", "displayName": "Write
As String", "required": false, "type": "boolean", "javaType":
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Whether to write the output of each
row\/element as a JSON String value instead of a Map\/POJO value." },
"unpackArray": { "index": 6, "kind": "attribute", "displayName": "Unpack
Array", "required": false, "type": "boolean", "javaType": "java.lang.Boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "description": "Whether to unpack a single element json-array into an
object." },
"option": { "index": 7, "kind": "attribute", "displayName": "Option",
"label": "advanced", "required": false, "type": "enum", "javaType":
"java.lang.String", "enum": [ "DEFAULT_PATH_LEAF_TO_NULL",
"ALWAYS_RETURN_LIST", "AS_PATH_LIST", "SUPPRESS_EXCEPTIONS",
"REQUIRE_PROPERTIES" ], "deprecated": false, "autowired": false, "secret":
false, "description": "To configure additional options on JSONPath. Multiple
values can be separated by comma." },
- "variableName": { "index": 8, "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
It has as higher precedent if other are set." },
- "headerName": { "index": 9, "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": 10, "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." },
+ "variableName": { "index": 8, "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": 9, "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" },
+ "propertyName": { "index": 10, "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." },
"resultType": { "index": 11, "kind": "attribute", "displayName": "Result
Type", "required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "Sets
the class of the result type (type from output)" },
"trim": { "index": 12, "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/xpath.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/xpath.json
index 0ef93be0c04..8aec341be9d 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
@@ -19,7 +19,7 @@
"id": { "index": 0, "kind": "attribute", "displayName": "Id", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "Sets the id of this node"
},
"expression": { "index": 1, "kind": "value", "displayName": "Expression",
"required": true, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "The
expression value in your chosen language syntax" },
"documentType": { "index": 2, "kind": "attribute", "displayName":
"Document Type", "label": "advanced", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Name of class for document type The default
value is org.w3c.dom.Document" },
- "resultType": { "index": 3, "kind": "attribute", "displayName": "Result
Type", "required": false, "type": "enum", "javaType": "java.lang.String",
"enum": [ "NUMBER", "STRING", "BOOLEAN", "NODESET", "NODE" ], "deprecated":
false, "autowired": false, "secret": false, "defaultValue": "NODESET",
"description": "Sets the class name of the result type (type from output) The
default result type is NodeSet" },
+ "resultQName": { "index": 3, "kind": "attribute", "displayName": "Result
QName", "required": false, "type": "enum", "javaType": "java.lang.String",
"enum": [ "NUMBER", "STRING", "BOOLEAN", "NODESET", "NODE" ], "deprecated":
false, "autowired": false, "secret": false, "defaultValue": "NODESET",
"description": "Sets the output type supported by XPath." },
"saxon": { "index": 4, "kind": "attribute", "displayName": "Saxon",
"label": "advanced", "required": false, "type": "boolean", "javaType":
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Whether to use Saxon." },
"factoryRef": { "index": 5, "kind": "attribute", "displayName": "Factory
Ref", "label": "advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "References to a custom XPathFactory to lookup in the registry"
},
"objectModel": { "index": 6, "kind": "attribute", "displayName": "Object
Model", "label": "advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "The XPath object model to use" },
@@ -28,8 +28,9 @@
"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" },
"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" }
+ "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" },
+ "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." },
+ "resultType": { "index": 14, "kind": "attribute", "displayName": "Result
Type", "required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "Sets
the class of the result type (type from output)" },
+ "trim": { "index": 15, "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 45f2fadd972..dc9ead9b093 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
@@ -18,13 +18,12 @@
"properties": {
"id": { "index": 0, "kind": "attribute", "displayName": "Id", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "Sets the id of this node"
},
"expression": { "index": 1, "kind": "value", "displayName": "Expression",
"required": true, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "The
expression value in your chosen language syntax" },
- "resultType": { "index": 2, "kind": "attribute", "displayName": "Result
Type", "required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "Sets
the class of the result type (type from output)" },
- "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" },
- "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" }
+ "configurationRef": { "index": 2, "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": 3, "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" },
+ "variableName": { "index": 4, "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": 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" },
+ "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." },
+ "resultType": { "index": 7, "kind": "attribute", "displayName": "Result
Type", "required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "Sets
the class of the result type (type from output)" },
+ "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/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 f6794e32e64..a0a8a19ca66 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
@@ -22,8 +22,9 @@
"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" },
"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" }
+ "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" },
+ "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." },
+ "resultType": { "index": 8, "kind": "attribute", "displayName": "Result
Type", "required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "Sets
the class of the result type (type from output)" },
+ "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/components-starter/camel-core-starter/src/main/docs/core.json
b/components-starter/camel-core-starter/src/main/docs/core.json
index 62db55994a5..0044bedd3d4 100644
--- a/components-starter/camel-core-starter/src/main/docs/core.json
+++ b/components-starter/camel-core-starter/src/main/docs/core.json
@@ -513,7 +513,7 @@
{
"name": "camel.language.tokenize.property-name",
"type": "java.lang.String",
- "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.",
+ "description": "Name of property to use as input, instead of the message
body.",
"sourceType":
"org.apache.camel.language.tokenizer.springboot.TokenizeLanguageConfiguration"
},
{
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 a0190236905..7798641ef0d 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
@@ -44,8 +44,7 @@ public class TokenizeLanguageConfiguration
*/
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.
+ * Name of property to use as input, instead of the message body.
*/
private String propertyName;
/**
diff --git a/components-starter/camel-hl7-starter/src/main/docs/hl7.json
b/components-starter/camel-hl7-starter/src/main/docs/hl7.json
index 19f31bcc865..0e90b884225 100644
--- a/components-starter/camel-hl7-starter/src/main/docs/hl7.json
+++ b/components-starter/camel-hl7-starter/src/main/docs/hl7.json
@@ -56,13 +56,13 @@
{
"name": "camel.language.hl7terser.header-name",
"type": "java.lang.String",
- "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.",
+ "description": "Name of header to use as input, instead of the message
body",
"sourceType":
"org.apache.camel.component.hl7.springboot.Hl7TerserLanguageConfiguration"
},
{
"name": "camel.language.hl7terser.property-name",
"type": "java.lang.String",
- "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.",
+ "description": "Name of property to use as input, instead of the message
body.",
"sourceType":
"org.apache.camel.component.hl7.springboot.Hl7TerserLanguageConfiguration"
},
{
@@ -75,7 +75,7 @@
{
"name": "camel.language.hl7terser.variable-name",
"type": "java.lang.String",
- "description": "Name of variable to use as input, instead of the message
body It has as higher precedent if other are set.",
+ "description": "Name of variable to use as input, instead of the message
body",
"sourceType":
"org.apache.camel.component.hl7.springboot.Hl7TerserLanguageConfiguration"
}
],
diff --git
a/components-starter/camel-hl7-starter/src/main/java/org/apache/camel/component/hl7/springboot/Hl7TerserLanguageConfiguration.java
b/components-starter/camel-hl7-starter/src/main/java/org/apache/camel/component/hl7/springboot/Hl7TerserLanguageConfiguration.java
index 18688a95f75..cbd205c4de8 100644
---
a/components-starter/camel-hl7-starter/src/main/java/org/apache/camel/component/hl7/springboot/Hl7TerserLanguageConfiguration.java
+++
b/components-starter/camel-hl7-starter/src/main/java/org/apache/camel/component/hl7/springboot/Hl7TerserLanguageConfiguration.java
@@ -36,18 +36,15 @@ public class Hl7TerserLanguageConfiguration
*/
private Boolean enabled;
/**
- * Name of variable to use as input, instead of the message body It has as
- * higher precedent if other are set.
+ * Name of variable to use as input, instead of the message body
*/
private String variableName;
/**
- * Name of header to use as input, instead of the message body It has as
- * higher precedent than the propertyName if both are set.
+ * Name of header to use as input, instead of the message body
*/
private String headerName;
/**
- * Name of property to use as input, instead of the message body. It has a
- * lower precedent than the headerName if both are set.
+ * Name of property to use as input, instead of the message body.
*/
private String propertyName;
/**
diff --git a/components-starter/camel-jq-starter/src/main/docs/jq.json
b/components-starter/camel-jq-starter/src/main/docs/jq.json
index a8f839aea74..5adb313de78 100644
--- a/components-starter/camel-jq-starter/src/main/docs/jq.json
+++ b/components-starter/camel-jq-starter/src/main/docs/jq.json
@@ -27,13 +27,13 @@
{
"name": "camel.language.jq.header-name",
"type": "java.lang.String",
- "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.",
+ "description": "Name of header to use as input, instead of the message
body",
"sourceType":
"org.apache.camel.language.jq.springboot.JqLanguageConfiguration"
},
{
"name": "camel.language.jq.property-name",
"type": "java.lang.String",
- "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.",
+ "description": "Name of property to use as input, instead of the message
body.",
"sourceType":
"org.apache.camel.language.jq.springboot.JqLanguageConfiguration"
},
{
@@ -46,7 +46,7 @@
{
"name": "camel.language.jq.variable-name",
"type": "java.lang.String",
- "description": "Name of variable to use as input, instead of the message
body It has as higher precedent if other are set.",
+ "description": "Name of variable to use as input, instead of the message
body",
"sourceType":
"org.apache.camel.language.jq.springboot.JqLanguageConfiguration"
}
],
diff --git
a/components-starter/camel-jq-starter/src/main/java/org/apache/camel/language/jq/springboot/JqLanguageConfiguration.java
b/components-starter/camel-jq-starter/src/main/java/org/apache/camel/language/jq/springboot/JqLanguageConfiguration.java
index f528e3ed588..a85f0218cf3 100644
---
a/components-starter/camel-jq-starter/src/main/java/org/apache/camel/language/jq/springboot/JqLanguageConfiguration.java
+++
b/components-starter/camel-jq-starter/src/main/java/org/apache/camel/language/jq/springboot/JqLanguageConfiguration.java
@@ -35,18 +35,15 @@ public class JqLanguageConfiguration
*/
private Boolean enabled;
/**
- * Name of variable to use as input, instead of the message body It has as
- * higher precedent if other are set.
+ * Name of variable to use as input, instead of the message body
*/
private String variableName;
/**
- * Name of header to use as input, instead of the message body It has as
- * higher precedent than the propertyName if both are set.
+ * Name of header to use as input, instead of the message body
*/
private String headerName;
/**
- * Name of property to use as input, instead of the message body. It has a
- * lower precedent than the headerName if both are set.
+ * Name of property to use as input, instead of the message body.
*/
private String propertyName;
/**
diff --git
a/components-starter/camel-jsonpath-starter/src/main/docs/jsonpath.json
b/components-starter/camel-jsonpath-starter/src/main/docs/jsonpath.json
index 547a5504624..70fc6291c20 100644
--- a/components-starter/camel-jsonpath-starter/src/main/docs/jsonpath.json
+++ b/components-starter/camel-jsonpath-starter/src/main/docs/jsonpath.json
@@ -41,7 +41,7 @@
{
"name": "camel.language.jsonpath.header-name",
"type": "java.lang.String",
- "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.",
+ "description": "Name of header to use as input, instead of the message
body",
"sourceType":
"org.apache.camel.jsonpath.springboot.JsonPathLanguageConfiguration"
},
{
@@ -53,7 +53,7 @@
{
"name": "camel.language.jsonpath.property-name",
"type": "java.lang.String",
- "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.",
+ "description": "Name of property to use as input, instead of the message
body.",
"sourceType":
"org.apache.camel.jsonpath.springboot.JsonPathLanguageConfiguration"
},
{
@@ -80,7 +80,7 @@
{
"name": "camel.language.jsonpath.variable-name",
"type": "java.lang.String",
- "description": "Name of variable to use as input, instead of the message
body It has as higher precedent if other are set.",
+ "description": "Name of variable to use as input, instead of the message
body",
"sourceType":
"org.apache.camel.jsonpath.springboot.JsonPathLanguageConfiguration"
},
{
diff --git
a/components-starter/camel-jsonpath-starter/src/main/java/org/apache/camel/jsonpath/springboot/JsonPathLanguageConfiguration.java
b/components-starter/camel-jsonpath-starter/src/main/java/org/apache/camel/jsonpath/springboot/JsonPathLanguageConfiguration.java
index e33dfd24d85..c123c1bf816 100644
---
a/components-starter/camel-jsonpath-starter/src/main/java/org/apache/camel/jsonpath/springboot/JsonPathLanguageConfiguration.java
+++
b/components-starter/camel-jsonpath-starter/src/main/java/org/apache/camel/jsonpath/springboot/JsonPathLanguageConfiguration.java
@@ -61,18 +61,15 @@ public class JsonPathLanguageConfiguration
*/
private String option;
/**
- * Name of variable to use as input, instead of the message body It has as
- * higher precedent if other are set.
+ * Name of variable to use as input, instead of the message body
*/
private String variableName;
/**
- * Name of header to use as input, instead of the message body It has as
- * higher precedent than the propertyName if both are set.
+ * Name of header to use as input, instead of the message body
*/
private String headerName;
/**
- * Name of property to use as input, instead of the message body. It has a
- * lower precedent than the headerName if both are set.
+ * Name of property to use as input, instead of the message body.
*/
private String 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 1daed9a8c4c..472aab309a3 100644
--- a/components-starter/camel-saxon-starter/src/main/docs/saxon.json
+++ b/components-starter/camel-saxon-starter/src/main/docs/saxon.json
@@ -100,7 +100,7 @@
{
"name": "camel.language.xquery.property-name",
"type": "java.lang.String",
- "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.",
+ "description": "Name of property to use as input, instead of the message
body.",
"sourceType":
"org.apache.camel.language.xquery.springboot.XQueryLanguageConfiguration"
},
{
@@ -110,12 +110,6 @@
"sourceType":
"org.apache.camel.language.xquery.springboot.XQueryLanguageConfiguration",
"defaultValue": true
},
- {
- "name": "camel.language.xquery.type",
- "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",
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 bf147bc24ec..229aab0c969 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
@@ -36,11 +36,6 @@ public class XQueryLanguageConfiguration
* enabled by default.
*/
private Boolean enabled;
- /**
- * Sets the class name of the result type (type from output) The default
- * result type is NodeSet
- */
- private String type;
/**
* Reference to a saxon configuration instance in the registry to use for
* xquery (requires camel-saxon). This may be needed to add custom
functions
@@ -57,8 +52,7 @@ public class XQueryLanguageConfiguration
*/
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.
+ * Name of property to use as input, instead of the message body.
*/
private String propertyName;
/**
@@ -67,14 +61,6 @@ public class XQueryLanguageConfiguration
*/
private Boolean trim = true;
- public String getType() {
- return type;
- }
-
- public void setType(String type) {
- this.type = type;
- }
-
public String getConfigurationRef() {
return configurationRef;
}
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 2840ce1a9f6..1c273c898b4 100644
--- a/components-starter/camel-stax-starter/src/main/docs/stax.json
+++ b/components-starter/camel-stax-starter/src/main/docs/stax.json
@@ -76,7 +76,7 @@
{
"name": "camel.language.xtokenize.property-name",
"type": "java.lang.String",
- "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.",
+ "description": "Name of property to use as input, instead of the message
body.",
"sourceType":
"org.apache.camel.language.xtokenizer.springboot.XMLTokenizeLanguageConfiguration"
},
{
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 653dfe8fa81..197573605b7 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
@@ -53,8 +53,7 @@ public class XMLTokenizeLanguageConfiguration
*/
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.
+ * Name of property to use as input, instead of the message body.
*/
private String 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 80d650bf333..a14ffaf1f7a 100644
--- a/components-starter/camel-xpath-starter/src/main/docs/xpath.json
+++ b/components-starter/camel-xpath-starter/src/main/docs/xpath.json
@@ -65,9 +65,16 @@
{
"name": "camel.language.xpath.property-name",
"type": "java.lang.String",
- "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.",
+ "description": "Name of property to use as input, instead of the message
body.",
"sourceType":
"org.apache.camel.language.xpath.springboot.XPathLanguageConfiguration"
},
+ {
+ "name": "camel.language.xpath.result-q-name",
+ "type": "java.lang.String",
+ "description": "Sets the output type supported by XPath.",
+ "sourceType":
"org.apache.camel.language.xpath.springboot.XPathLanguageConfiguration",
+ "defaultValue": "NODESET"
+ },
{
"name": "camel.language.xpath.saxon",
"type": "java.lang.Boolean",
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 c13289b5d9c..626d43acd47 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
@@ -40,6 +40,10 @@ public class XPathLanguageConfiguration
* Name of class for document type The default value is
org.w3c.dom.Document
*/
private String documentType;
+ /**
+ * Sets the output type supported by XPath.
+ */
+ private String resultQName = "NODESET";
/**
* Whether to use Saxon.
*/
@@ -86,8 +90,7 @@ public class XPathLanguageConfiguration
*/
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.
+ * Name of property to use as input, instead of the message body.
*/
private String propertyName;
/**
@@ -104,6 +107,14 @@ public class XPathLanguageConfiguration
this.documentType = documentType;
}
+ public String getResultQName() {
+ return resultQName;
+ }
+
+ public void setResultQName(String resultQName) {
+ this.resultQName = resultQName;
+ }
+
public Boolean getSaxon() {
return saxon;
}