You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by tc...@apache.org on 2026/05/19 13:46:26 UTC
(camel-kamelets) 01/02: Use DelegatingDataTypeProcessor for data-type-action
This is an automated email from the ASF dual-hosted git repository.
cunningt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 195a6351ca61842df151eca6c2739c5facf166e2
Author: Tom Cunningham <tc...@redhat.com>
AuthorDate: Mon May 18 21:55:32 2026 -0400
Use DelegatingDataTypeProcessor for data-type-action
---
kamelets/data-type-action.kamelet.yaml | 7 +++----
.../src/main/resources/kamelets/data-type-action.kamelet.yaml | 7 +++----
2 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/kamelets/data-type-action.kamelet.yaml b/kamelets/data-type-action.kamelet.yaml
index ad6b86c63..2041d1ed9 100644
--- a/kamelets/data-type-action.kamelet.yaml
+++ b/kamelets/data-type-action.kamelet.yaml
@@ -49,7 +49,7 @@ spec:
template:
beans:
- name: dataTypeProcessor
- type: "#class:org.apache.camel.processor.transformer.DataTypeProcessor"
+ type: "#class:org.apache.camel.processor.transformer.DelegatingDataTypeProcessor"
from:
uri: "kamelet:source"
steps:
@@ -65,6 +65,5 @@ spec:
- setProperty:
name: CamelDataType
simple: "{{format}}"
- - bean:
- ref: "{{dataTypeProcessor}}"
- method: process
+ - process:
+ ref: "dataTypeProcessor"
diff --git a/library/camel-kamelets/src/main/resources/kamelets/data-type-action.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/data-type-action.kamelet.yaml
index ad6b86c63..2041d1ed9 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/data-type-action.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/data-type-action.kamelet.yaml
@@ -49,7 +49,7 @@ spec:
template:
beans:
- name: dataTypeProcessor
- type: "#class:org.apache.camel.processor.transformer.DataTypeProcessor"
+ type: "#class:org.apache.camel.processor.transformer.DelegatingDataTypeProcessor"
from:
uri: "kamelet:source"
steps:
@@ -65,6 +65,5 @@ spec:
- setProperty:
name: CamelDataType
simple: "{{format}}"
- - bean:
- ref: "{{dataTypeProcessor}}"
- method: process
+ - process:
+ ref: "dataTypeProcessor"