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 e81747bb4ca0 camel-ehcache: the event-type header javaType is
unqualified, so the catalog publishes none of its five event types (#30096)
e81747bb4ca0 is described below
commit e81747bb4ca0a4ab6c63d68cbf9d99b8d1c31b85
Author: dhairya05 <[email protected]>
AuthorDate: Sun Nov 15 23:45:57 2026 +0530
camel-ehcache: the event-type header javaType is unqualified, so the
catalog publishes none of its five event types (#30096)
---
.../resources/org/apache/camel/catalog/components/ehcache.json | 2 +-
.../resources/META-INF/org/apache/camel/component/ehcache/ehcache.json | 2 +-
.../main/java/org/apache/camel/component/ehcache/EhcacheConstants.java | 2 +-
.../camel/builder/endpoint/dsl/EhcacheEndpointBuilderFactory.java | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/ehcache.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/ehcache.json
index 0d0d26a57860..192643c8c60e 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/ehcache.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/ehcache.json
@@ -49,7 +49,7 @@
"CamelEhcacheKeys": { "index": 4, "kind": "header", "displayName": "",
"group": "common", "label": "", "required": false, "javaType": "Set<Object>",
"deprecated": false, "autowired": false, "secret": false, "description": "A
list of keys, used in PUT_ALL GET_ALL REMOVE_ALL", "constantName":
"org.apache.camel.component.ehcache.EhcacheConstants#KEYS" },
"CamelEhcacheValue": { "index": 5, "kind": "header", "displayName": "",
"group": "common", "label": "", "required": false, "javaType": "Object",
"deprecated": false, "autowired": false, "secret": false, "description": "The
value to put in the cache or the result of an operation", "constantName":
"org.apache.camel.component.ehcache.EhcacheConstants#VALUE" },
"CamelEhcacheOldValue": { "index": 6, "kind": "header", "displayName": "",
"group": "common", "label": "", "required": false, "javaType": "Object",
"deprecated": false, "autowired": false, "secret": false, "description": "The
old value associated to a key for actions like PUT_IF_ABSENT or the Object used
for comparison for actions like REPLACE", "constantName":
"org.apache.camel.component.ehcache.EhcacheConstants#OLD_VALUE" },
- "CamelEhcacheEventType": { "index": 7, "kind": "header", "displayName":
"", "group": "common", "label": "", "required": false, "javaType": "EventType",
"deprecated": false, "autowired": false, "secret": false, "description": "The
type of event received", "constantName":
"org.apache.camel.component.ehcache.EhcacheConstants#EVENT_TYPE" }
+ "CamelEhcacheEventType": { "index": 7, "kind": "header", "displayName":
"", "group": "common", "label": "", "required": false, "javaType":
"org.ehcache.event.EventType", "enum": [ "EVICTED", "EXPIRED", "REMOVED",
"CREATED", "UPDATED" ], "deprecated": false, "autowired": false, "secret":
false, "description": "The type of event received", "constantName":
"org.apache.camel.component.ehcache.EhcacheConstants#EVENT_TYPE" }
},
"bodyTypes": {
"consumerOut": { "carriers": [ "unknown" ], "description": "The new value
of the entry, as it was put, with the key in the CamelEhcacheKey header, the
event in CamelEhcacheEventType and the previous value in CamelEhcacheOldValue.
A REMOVED, EXPIRED or EVICTED event has no body" },
diff --git
a/components/camel-ehcache/src/generated/resources/META-INF/org/apache/camel/component/ehcache/ehcache.json
b/components/camel-ehcache/src/generated/resources/META-INF/org/apache/camel/component/ehcache/ehcache.json
index 0d0d26a57860..192643c8c60e 100644
---
a/components/camel-ehcache/src/generated/resources/META-INF/org/apache/camel/component/ehcache/ehcache.json
+++
b/components/camel-ehcache/src/generated/resources/META-INF/org/apache/camel/component/ehcache/ehcache.json
@@ -49,7 +49,7 @@
"CamelEhcacheKeys": { "index": 4, "kind": "header", "displayName": "",
"group": "common", "label": "", "required": false, "javaType": "Set<Object>",
"deprecated": false, "autowired": false, "secret": false, "description": "A
list of keys, used in PUT_ALL GET_ALL REMOVE_ALL", "constantName":
"org.apache.camel.component.ehcache.EhcacheConstants#KEYS" },
"CamelEhcacheValue": { "index": 5, "kind": "header", "displayName": "",
"group": "common", "label": "", "required": false, "javaType": "Object",
"deprecated": false, "autowired": false, "secret": false, "description": "The
value to put in the cache or the result of an operation", "constantName":
"org.apache.camel.component.ehcache.EhcacheConstants#VALUE" },
"CamelEhcacheOldValue": { "index": 6, "kind": "header", "displayName": "",
"group": "common", "label": "", "required": false, "javaType": "Object",
"deprecated": false, "autowired": false, "secret": false, "description": "The
old value associated to a key for actions like PUT_IF_ABSENT or the Object used
for comparison for actions like REPLACE", "constantName":
"org.apache.camel.component.ehcache.EhcacheConstants#OLD_VALUE" },
- "CamelEhcacheEventType": { "index": 7, "kind": "header", "displayName":
"", "group": "common", "label": "", "required": false, "javaType": "EventType",
"deprecated": false, "autowired": false, "secret": false, "description": "The
type of event received", "constantName":
"org.apache.camel.component.ehcache.EhcacheConstants#EVENT_TYPE" }
+ "CamelEhcacheEventType": { "index": 7, "kind": "header", "displayName":
"", "group": "common", "label": "", "required": false, "javaType":
"org.ehcache.event.EventType", "enum": [ "EVICTED", "EXPIRED", "REMOVED",
"CREATED", "UPDATED" ], "deprecated": false, "autowired": false, "secret":
false, "description": "The type of event received", "constantName":
"org.apache.camel.component.ehcache.EhcacheConstants#EVENT_TYPE" }
},
"bodyTypes": {
"consumerOut": { "carriers": [ "unknown" ], "description": "The new value
of the entry, as it was put, with the key in the CamelEhcacheKey header, the
event in CamelEhcacheEventType and the previous value in CamelEhcacheOldValue.
A REMOVED, EXPIRED or EVICTED event has no body" },
diff --git
a/components/camel-ehcache/src/main/java/org/apache/camel/component/ehcache/EhcacheConstants.java
b/components/camel-ehcache/src/main/java/org/apache/camel/component/ehcache/EhcacheConstants.java
index eeb4ec6d8976..d385f30af680 100644
---
a/components/camel-ehcache/src/main/java/org/apache/camel/component/ehcache/EhcacheConstants.java
+++
b/components/camel-ehcache/src/main/java/org/apache/camel/component/ehcache/EhcacheConstants.java
@@ -55,7 +55,7 @@ public interface EhcacheConstants {
Object used for comparison for actions like REPLACE""",
javaType = "Object")
String OLD_VALUE = "CamelEhcacheOldValue";
- @Metadata(description = "The type of event received", javaType =
"EventType")
+ @Metadata(description = "The type of event received", javaType =
"org.ehcache.event.EventType")
String EVENT_TYPE = "CamelEhcacheEventType";
String ACTION_CLEAR = "CLEAR";
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/EhcacheEndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/EhcacheEndpointBuilderFactory.java
index 4a2383cdfb0d..d325d631f16b 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/EhcacheEndpointBuilderFactory.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/EhcacheEndpointBuilderFactory.java
@@ -1124,7 +1124,7 @@ public interface EhcacheEndpointBuilderFactory {
/**
* The type of event received.
*
- * The option is a: {@code EventType} type.
+ * The option is a: {@code org.ehcache.event.EventType} type.
*
* Group: common
*