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 2fd7aabdaca5 camel-jcache: the entry-processor header javaType leaves
EntryProcessor unqualified (#30099)
2fd7aabdaca5 is described below
commit 2fd7aabdaca5b19356fd24f33cb09b82f13c69ee
Author: dhairya05 <[email protected]>
AuthorDate: Mon Nov 16 03:33:02 2026 +0530
camel-jcache: the entry-processor header javaType leaves EntryProcessor
unqualified (#30099)
* camel-jcache: a header javaType names its class unqualified
CamelJCacheEntryProcessor EntryProcessor<Object,
Obj -> javax.cache.processor.EntryProcessor<Object, Object, Object>
* Regen
---
.../resources/org/apache/camel/catalog/components/jcache.json | 2 +-
.../resources/META-INF/org/apache/camel/component/jcache/jcache.json | 2 +-
.../main/java/org/apache/camel/component/jcache/JCacheConstants.java | 2 +-
.../camel/builder/endpoint/dsl/JCacheEndpointBuilderFactory.java | 3 ++-
4 files changed, 5 insertions(+), 4 deletions(-)
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/jcache.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/jcache.json
index 5d01f3985c44..1e10f0053d96 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/jcache.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/jcache.json
@@ -40,7 +40,7 @@
"CamelJCacheKey": { "index": 3, "kind": "header", "displayName": "",
"group": "common", "label": "", "required": false, "javaType": "Object",
"deprecated": false, "autowired": false, "secret": false, "description": "The
key of the cache entry", "constantName":
"org.apache.camel.component.jcache.JCacheConstants#KEY" },
"CamelJCacheKeys": { "index": 4, "kind": "header", "displayName": "",
"group": "producer", "label": "producer", "required": false, "javaType":
"Set<Object>", "deprecated": false, "autowired": false, "secret": false,
"description": "The collection of keys against which the action should be
performed", "constantName":
"org.apache.camel.component.jcache.JCacheConstants#KEYS" },
"CamelJCacheOldValue": { "index": 5, "kind": "header", "displayName": "",
"group": "consumer", "label": "consumer", "required": false, "javaType":
"Object", "deprecated": false, "autowired": false, "secret": false,
"description": "The old value of the cache entry", "constantName":
"org.apache.camel.component.jcache.JCacheConstants#OLD_VALUE" },
- "CamelJCacheEntryProcessor": { "index": 6, "kind": "header",
"displayName": "", "group": "producer", "label": "producer", "required": false,
"javaType": "EntryProcessor<Object, Object, Object>", "deprecated": false,
"autowired": false, "secret": false, "description": "The EntryProcessor to
invoke", "constantName":
"org.apache.camel.component.jcache.JCacheConstants#ENTRY_PROCESSOR" },
+ "CamelJCacheEntryProcessor": { "index": 6, "kind": "header",
"displayName": "", "group": "producer", "label": "producer", "required": false,
"javaType": "javax.cache.processor.EntryProcessor<Object, Object, Object>",
"deprecated": false, "autowired": false, "secret": false, "description": "The
EntryProcessor to invoke", "constantName":
"org.apache.camel.component.jcache.JCacheConstants#ENTRY_PROCESSOR" },
"CamelJCacheEntryArgs": { "index": 7, "kind": "header", "displayName": "",
"group": "producer", "label": "producer", "required": false, "javaType":
"Collection<Object>", "deprecated": false, "autowired": false, "secret": false,
"description": "The additional arguments to pass to the EntryProcessor",
"constantName": "org.apache.camel.component.jcache.JCacheConstants#ARGUMENTS" }
},
"bodyTypes": {
diff --git
a/components/camel-jcache/src/generated/resources/META-INF/org/apache/camel/component/jcache/jcache.json
b/components/camel-jcache/src/generated/resources/META-INF/org/apache/camel/component/jcache/jcache.json
index 5d01f3985c44..1e10f0053d96 100644
---
a/components/camel-jcache/src/generated/resources/META-INF/org/apache/camel/component/jcache/jcache.json
+++
b/components/camel-jcache/src/generated/resources/META-INF/org/apache/camel/component/jcache/jcache.json
@@ -40,7 +40,7 @@
"CamelJCacheKey": { "index": 3, "kind": "header", "displayName": "",
"group": "common", "label": "", "required": false, "javaType": "Object",
"deprecated": false, "autowired": false, "secret": false, "description": "The
key of the cache entry", "constantName":
"org.apache.camel.component.jcache.JCacheConstants#KEY" },
"CamelJCacheKeys": { "index": 4, "kind": "header", "displayName": "",
"group": "producer", "label": "producer", "required": false, "javaType":
"Set<Object>", "deprecated": false, "autowired": false, "secret": false,
"description": "The collection of keys against which the action should be
performed", "constantName":
"org.apache.camel.component.jcache.JCacheConstants#KEYS" },
"CamelJCacheOldValue": { "index": 5, "kind": "header", "displayName": "",
"group": "consumer", "label": "consumer", "required": false, "javaType":
"Object", "deprecated": false, "autowired": false, "secret": false,
"description": "The old value of the cache entry", "constantName":
"org.apache.camel.component.jcache.JCacheConstants#OLD_VALUE" },
- "CamelJCacheEntryProcessor": { "index": 6, "kind": "header",
"displayName": "", "group": "producer", "label": "producer", "required": false,
"javaType": "EntryProcessor<Object, Object, Object>", "deprecated": false,
"autowired": false, "secret": false, "description": "The EntryProcessor to
invoke", "constantName":
"org.apache.camel.component.jcache.JCacheConstants#ENTRY_PROCESSOR" },
+ "CamelJCacheEntryProcessor": { "index": 6, "kind": "header",
"displayName": "", "group": "producer", "label": "producer", "required": false,
"javaType": "javax.cache.processor.EntryProcessor<Object, Object, Object>",
"deprecated": false, "autowired": false, "secret": false, "description": "The
EntryProcessor to invoke", "constantName":
"org.apache.camel.component.jcache.JCacheConstants#ENTRY_PROCESSOR" },
"CamelJCacheEntryArgs": { "index": 7, "kind": "header", "displayName": "",
"group": "producer", "label": "producer", "required": false, "javaType":
"Collection<Object>", "deprecated": false, "autowired": false, "secret": false,
"description": "The additional arguments to pass to the EntryProcessor",
"constantName": "org.apache.camel.component.jcache.JCacheConstants#ARGUMENTS" }
},
"bodyTypes": {
diff --git
a/components/camel-jcache/src/main/java/org/apache/camel/component/jcache/JCacheConstants.java
b/components/camel-jcache/src/main/java/org/apache/camel/component/jcache/JCacheConstants.java
index 173ee92170ef..159e9d18c940 100644
---
a/components/camel-jcache/src/main/java/org/apache/camel/component/jcache/JCacheConstants.java
+++
b/components/camel-jcache/src/main/java/org/apache/camel/component/jcache/JCacheConstants.java
@@ -33,7 +33,7 @@ public interface JCacheConstants {
@Metadata(label = "consumer", description = "The old value of the cache
entry", javaType = "Object")
String OLD_VALUE = "CamelJCacheOldValue";
@Metadata(label = "producer", description = "The EntryProcessor to invoke",
- javaType = "EntryProcessor<Object, Object, Object>")
+ javaType = "javax.cache.processor.EntryProcessor<Object, Object,
Object>")
String ENTRY_PROCESSOR = "CamelJCacheEntryProcessor";
@Metadata(label = "producer", description = "The additional arguments to
pass to the EntryProcessor",
javaType = "Collection<Object>")
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/JCacheEndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/JCacheEndpointBuilderFactory.java
index 3037d6699bbb..adf7d18047f8 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/JCacheEndpointBuilderFactory.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/JCacheEndpointBuilderFactory.java
@@ -1714,7 +1714,8 @@ public interface JCacheEndpointBuilderFactory {
/**
* The EntryProcessor to invoke.
*
- * The option is a: {@code EntryProcessor<Object, Object, Object>}
type.
+ * The option is a: {@code javax.cache.processor.EntryProcessor<Object,
+ * Object, Object>} type.
*
* Group: producer
*