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 12:25:22 UTC
[camel-kamelets] 07/10: Bean: Use properties instead of property with key and value - AWS S3 Source
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 03bbad5992cdd7f59af93341b72e6a324601736b
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue May 23 14:13:35 2023 +0200
Bean: Use properties instead of property with key and value - AWS S3 Source
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
kamelets/aws-s3-source.kamelet.yaml | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)
diff --git a/kamelets/aws-s3-source.kamelet.yaml b/kamelets/aws-s3-source.kamelet.yaml
index 994c8ae3..044b1d4f 100644
--- a/kamelets/aws-s3-source.kamelet.yaml
+++ b/kamelets/aws-s3-source.kamelet.yaml
@@ -110,15 +110,11 @@ spec:
beans:
- name: renameHeaders
type: "#class:org.apache.camel.kamelets.utils.headers.DuplicateNamingHeaders"
- property:
- - key: prefix
- value: 'CamelAwsS3'
- - key: renamingPrefix
- value: 'aws.s3.'
- - key: mode
- value: 'filtering'
- - key: selectedHeaders
- value: 'CamelAwsS3Key,CamelAwsS3BucketName'
+ properties:
+ prefix: 'CamelAwsS3'
+ renamingPrefix: 'aws.s3.'
+ mode: 'filtering'
+ selectedHeaders: 'CamelAwsS3Key,CamelAwsS3BucketName'
from:
uri: "aws2-s3:{{bucketNameOrArn}}"
parameters: