You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2023/05/23 14:07:03 UTC
[camel-kamelets] 06/06: Bean: Use properties instead of property with key and value - Data Type Action
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch 1475
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 54069a6dd90283faf91e43f5dba016dc80669d3e
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue May 23 15:52:43 2023 +0200
Bean: Use properties instead of property with key and value - Data Type Action
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
.../src/main/resources/kamelets/data-type-action.kamelet.yaml | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
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 fc94067b..10b670ab 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
@@ -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: