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 2022/10/13 07:56:25 UTC
[camel-kamelets] 01/06: Duplicate some of headers with a different name - Azure Storage Blob Source
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch dupli-headers-az-storage-blob-source
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 681d6677f546c730ca1b3920b889a601766b3bb4
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Oct 12 18:04:52 2022 +0200
Duplicate some of headers with a different name - Azure Storage Blob Source
---
kamelets/azure-storage-blob-source.kamelet.yaml | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/kamelets/azure-storage-blob-source.kamelet.yaml b/kamelets/azure-storage-blob-source.kamelet.yaml
index 14eee2fb..57fe7e1f 100644
--- a/kamelets/azure-storage-blob-source.kamelet.yaml
+++ b/kamelets/azure-storage-blob-source.kamelet.yaml
@@ -67,7 +67,20 @@ spec:
- "camel:core"
- "camel:jsonpath"
- "camel:timer"
+ - "github:apache.camel-kamelets:camel-kamelets-utils:main-SNAPSHOT"
template:
+ beans:
+ - name: renameHeaders
+ 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,CamelAzureStorageBlobCreationTime,CamelAzureStorageBlobLastModified,CamelAzureStorageBlobBlobSize'
from:
uri: "azure-storage-blob:{{accountName}}/{{containerName}}"
parameters: