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 be9c0fe9e31e2c90fc525d92893a0ff9f45a52a5
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Tue May 23 15:20:06 2023 +0200

    Bean: Use properties instead of property with key and value - Azure Storage 
Blob Source
    
    Signed-off-by: Andrea Cosentino <anco...@gmail.com>
---
 kamelets/azure-storage-blob-source.kamelet.yaml | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/kamelets/azure-storage-blob-source.kamelet.yaml 
b/kamelets/azure-storage-blob-source.kamelet.yaml
index 4114c75f..c1f09c80 100644
--- a/kamelets/azure-storage-blob-source.kamelet.yaml
+++ b/kamelets/azure-storage-blob-source.kamelet.yaml
@@ -82,15 +82,11 @@ spec:
     beans:
       - name: duplicateHeaders
         type: 
"#class:org.apache.camel.kamelets.utils.headers.DuplicateNamingHeaders"
-        property:
-          - key: prefix
-            value: 'CamelAzureStorageBlob'
-          - key: renamingPrefix
-            value: 'azure.storage.blob.'
-          - key: mode
-            value: 'filtering'
-          - key: selectedHeaders
-            value: 'CamelAzureStorageBlobETag,CamelAzureStorageBlobBlobSize'
+        properties:
+          prefix: 'CamelAzureStorageBlob'
+          renamingPrefix: 'azure.storage.blob.'
+          mode: 'filtering'
+          selectedHeaders: 
'CamelAzureStorageBlobETag,CamelAzureStorageBlobBlobSize'
     from:
       uri: "azure-storage-blob:{{accountName}}/{{containerName}}"
       parameters:

Reply via email to