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.git
The following commit(s) were added to refs/heads/main by this push:
new 71ebc78a9dfb camel-language: the expression header javaType leaves
Expression unqualified (#30097)
71ebc78a9dfb is described below
commit 71ebc78a9dfb88d1ac797ed5c26906a67926f112
Author: dhairya05 <[email protected]>
AuthorDate: Sun Nov 15 23:46:08 2026 +0530
camel-language: the expression header javaType leaves Expression
unqualified (#30097)
---
.../resources/org/apache/camel/catalog/components/language.json | 2 +-
.../META-INF/org/apache/camel/component/language/language.json | 2 +-
.../java/org/apache/camel/component/language/LanguageConstants.java | 2 +-
.../camel/builder/endpoint/dsl/LanguageEndpointBuilderFactory.java | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/language.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/language.json
index ad368f524178..059d8acba5be 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/language.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/language.json
@@ -30,7 +30,7 @@
"autowiredEnabled": { "index": 3, "kind": "property", "displayName":
"Autowired Enabled", "group": "advanced", "label": "advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description":
"Whether autowiring is enabled. This is used for automatic autowiring options
(the option must be marked as autowired) by looking up in the registry to find
if there is a single instance of matching t [...]
},
"headers": {
- "CamelLanguageScript": { "index": 0, "kind": "header", "displayName": "",
"group": "producer", "label": "", "required": false, "javaType": "String or
Expression", "deprecated": false, "autowired": false, "secret": false,
"description": "The script to execute provided in the header. Takes precedence
over script configured on the endpoint. The script is used for this message
only, it is never cached as the script of the endpoint (also with
cacheScript=true), and the header is removed a [...]
+ "CamelLanguageScript": { "index": 0, "kind": "header", "displayName": "",
"group": "producer", "label": "", "required": false, "javaType": "String or
org.apache.camel.Expression", "deprecated": false, "autowired": false,
"secret": false, "description": "The script to execute provided in the header.
Takes precedence over script configured on the endpoint. The script is used for
this message only, it is never cached as the script of the endpoint (also with
cacheScript=true), and the he [...]
},
"bodyTypes": {
"producerIn": { "carriers": [ "any" ], "description": "The body as the
language of the script reads it. The script is in the uri, the script option or
a resource, or in the CamelLanguageScript header with
allowTemplateFromHeader=true, and never in the body" },
diff --git
a/components/camel-language/src/generated/resources/META-INF/org/apache/camel/component/language/language.json
b/components/camel-language/src/generated/resources/META-INF/org/apache/camel/component/language/language.json
index ad368f524178..059d8acba5be 100644
---
a/components/camel-language/src/generated/resources/META-INF/org/apache/camel/component/language/language.json
+++
b/components/camel-language/src/generated/resources/META-INF/org/apache/camel/component/language/language.json
@@ -30,7 +30,7 @@
"autowiredEnabled": { "index": 3, "kind": "property", "displayName":
"Autowired Enabled", "group": "advanced", "label": "advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description":
"Whether autowiring is enabled. This is used for automatic autowiring options
(the option must be marked as autowired) by looking up in the registry to find
if there is a single instance of matching t [...]
},
"headers": {
- "CamelLanguageScript": { "index": 0, "kind": "header", "displayName": "",
"group": "producer", "label": "", "required": false, "javaType": "String or
Expression", "deprecated": false, "autowired": false, "secret": false,
"description": "The script to execute provided in the header. Takes precedence
over script configured on the endpoint. The script is used for this message
only, it is never cached as the script of the endpoint (also with
cacheScript=true), and the header is removed a [...]
+ "CamelLanguageScript": { "index": 0, "kind": "header", "displayName": "",
"group": "producer", "label": "", "required": false, "javaType": "String or
org.apache.camel.Expression", "deprecated": false, "autowired": false,
"secret": false, "description": "The script to execute provided in the header.
Takes precedence over script configured on the endpoint. The script is used for
this message only, it is never cached as the script of the endpoint (also with
cacheScript=true), and the he [...]
},
"bodyTypes": {
"producerIn": { "carriers": [ "any" ], "description": "The body as the
language of the script reads it. The script is in the uri, the script option or
a resource, or in the CamelLanguageScript header with
allowTemplateFromHeader=true, and never in the body" },
diff --git
a/components/camel-language/src/main/java/org/apache/camel/component/language/LanguageConstants.java
b/components/camel-language/src/main/java/org/apache/camel/component/language/LanguageConstants.java
index 03c0eec90ec0..e1fd1cc4d031 100644
---
a/components/camel-language/src/main/java/org/apache/camel/component/language/LanguageConstants.java
+++
b/components/camel-language/src/main/java/org/apache/camel/component/language/LanguageConstants.java
@@ -25,7 +25,7 @@ public final class LanguageConstants {
"script configured on the endpoint. The script is
used for this message only, it is never\n" +
"cached as the script of the endpoint (also with
cacheScript=true), and the header is removed\n" +
"after use.",
- javaType = "String or Expression")
+ javaType = "String or org.apache.camel.Expression")
public static final String LANGUAGE_SCRIPT = Exchange.LANGUAGE_SCRIPT;
private LanguageConstants() {
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/LanguageEndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/LanguageEndpointBuilderFactory.java
index 6c4666274d70..5ffc97fc4127 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/LanguageEndpointBuilderFactory.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/LanguageEndpointBuilderFactory.java
@@ -428,7 +428,7 @@ public interface LanguageEndpointBuilderFactory {
* message only, it is never cached as the script of the endpoint (also
* with cacheScript=true), and the header is removed after use.
*
- * The option is a: {@code String or Expression} type.
+ * The option is a: {@code String or org.apache.camel.Expression} type.
*
* Group: producer
*