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 2024/02/13 14:58:35 UTC
(camel) branch main updated: Azure Storage Queue Cloud Event Data Type Transformer: Fix the prefix of event source (#13107)
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.git
The following commit(s) were added to refs/heads/main by this push:
new 26b243c2d09 Azure Storage Queue Cloud Event Data Type Transformer: Fix the prefix of event source (#13107)
26b243c2d09 is described below
commit 26b243c2d097272d192e66d4fb663867ae9f3ee0
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Feb 13 15:58:29 2024 +0100
Azure Storage Queue Cloud Event Data Type Transformer: Fix the prefix of event source (#13107)
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
.../queue/transform/AzureStorageQueueCloudEventDataTypeTransformer.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/camel-azure/camel-azure-storage-queue/src/main/java/org/apache/camel/component/azure/storage/queue/transform/AzureStorageQueueCloudEventDataTypeTransformer.java b/components/camel-azure/camel-azure-storage-queue/src/main/java/org/apache/camel/component/azure/storage/queue/transform/AzureStorageQueueCloudEventDataTypeTransformer.java
index 2b4fd1174f7..e5ea8fd5ae0 100644
--- a/components/camel-azure/camel-azure-storage-queue/src/main/java/org/apache/camel/component/azure/storage/queue/transform/AzureStorageQueueCloudEventDataTypeTransformer.java
+++ b/components/camel-azure/camel-azure-storage-queue/src/main/java/org/apache/camel/component/azure/storage/queue/transform/AzureStorageQueueCloudEventDataTypeTransformer.java
@@ -45,7 +45,7 @@ public class AzureStorageQueueCloudEventDataTypeTransformer extends Transformer
if (message.getHeaders().containsKey(QueueConstants.MESSAGE_ID)) {
headers.put(CloudEvents.CAMEL_CLOUD_EVENT_SOURCE,
- "azure.storage.blob." + message.getHeader(QueueConstants.MESSAGE_ID, String.class));
+ "azure.storage.queue." + message.getHeader(QueueConstants.MESSAGE_ID, String.class));
}
if (message.getHeaders().containsKey(QueueConstants.POP_RECEIPT)) {