This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 0ea0b357954d22b6f48a24aa6171710e1e43be57
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Tue May 23 15:51:24 2023 +0200

    Bean: Use properties instead of property with key and value - Data Type 
Action
    
    Signed-off-by: Andrea Cosentino <anco...@gmail.com>
---
 kamelets/data-type-action.kamelet.yaml | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/kamelets/data-type-action.kamelet.yaml 
b/kamelets/data-type-action.kamelet.yaml
index fc94067b..10b670ab 100644
--- a/kamelets/data-type-action.kamelet.yaml
+++ b/kamelets/data-type-action.kamelet.yaml
@@ -56,13 +56,10 @@ spec:
         type: 
"#class:org.apache.camel.kamelets.utils.format.DefaultDataTypeRegistry"
       - name: dataTypeProcessor
         type: "#class:org.apache.camel.kamelets.utils.format.DataTypeProcessor"
-        property:
-          - key: scheme
-            value: '{{scheme}}'
-          - key: format
-            value: '{{format}}'
-          - key: registry
-            value: '#bean:{{dataTypeRegistry}}'
+        properties:
+          scheme: '{{scheme}}'
+          format: '{{format}}'
+          registry: '#bean:{{dataTypeRegistry}}'
     from:
       uri: "kamelet:source"
       steps:

Reply via email to