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 77b6216e89a Regen
77b6216e89a is described below
commit 77b6216e89a0b84533586065f3e48035fd4ed55e
Author: Claus Ibsen <[email protected]>
AuthorDate: Fri Jun 17 22:33:18 2022 +0200
Regen
---
.../resources/org/apache/camel/springboot/catalog/languages/jq.json | 2 +-
components-starter/camel-jq-starter/src/main/docs/jq.json | 2 +-
.../apache/camel/language/jq/springboot/JqLanguageConfiguration.java | 3 ++-
3 files changed, 4 insertions(+), 3 deletions(-)
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 42b23e51f17..76c72f380cb 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,7 +18,7 @@
"properties": {
"expression": { "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": { "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)" },
- "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" },
+ "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." },
"trim": { "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" },
"id": { "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" }
}
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 51d238e4817..3df2cc6ba14 100644
--- a/components-starter/camel-jq-starter/src/main/docs/jq.json
+++ b/components-starter/camel-jq-starter/src/main/docs/jq.json
@@ -27,7 +27,7 @@
{
"name": "camel.language.jq.header-name",
"type": "java.lang.String",
- "description": "Name of header to use as input, instead of the message
body",
+ "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.",
"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 7b26ec01106..55fb50b3f63 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
@@ -37,7 +37,8 @@ public class JqLanguageConfiguration
*/
private Boolean enabled;
/**
- * Name of header to use as input, instead of the message body
+ * Name of header to use as input, instead of the message body It has as
+ * higher precedent than the propertyName if both are set.
*/
private String headerName;
/**