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 09:59:19 UTC
[camel-kamelets] 01/02: Bean: Use properties instead of property with key and value - AWS DDB Sink
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 a1874d5e2551fe6368fb8fd20953dc3a01da32ea
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue May 23 11:56:26 2023 +0200
Bean: Use properties instead of property with key and value - AWS DDB Sink
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
kamelets/aws-ddb-sink.kamelet.yaml | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/kamelets/aws-ddb-sink.kamelet.yaml b/kamelets/aws-ddb-sink.kamelet.yaml
index b930793d..e3a7696d 100644
--- a/kamelets/aws-ddb-sink.kamelet.yaml
+++ b/kamelets/aws-ddb-sink.kamelet.yaml
@@ -119,13 +119,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: 'aws2-ddb'
- - key: format
- value: 'json'
- - key: registry
- value: '#bean:{{dataTypeRegistry}}'
+ properties:
+ scheme: 'aws2-ddb'
+ format: 'json'
+ registry: '#bean:{{dataTypeRegistry}}'
from:
uri: "kamelet:source"
steps: