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 508347b3e902022899e6929fb11311938bcbf0d0
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Tue May 23 15:21:10 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/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-source.kamelet.yaml
 
b/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-source.kamelet.yaml
index 4114c75f..c1f09c80 100644
--- 
a/library/camel-kamelets/src/main/resources/kamelets/azure-storage-blob-source.kamelet.yaml
+++ 
b/library/camel-kamelets/src/main/resources/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