[
https://issues.apache.org/jira/browse/CAMEL-27538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Work on CAMEL-27538 started by Claus Ibsen.
-------------------------------------------
> camel-azure-files - the CloudEvent source of azure-storage-files events is
> the share, not the storage account host
> ------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-27538
> URL: https://issues.apache.org/jira/browse/CAMEL-27538
> Project: Camel
> Issue Type: Improvement
> Components: camel-azure
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 4.24.0
>
>
> The {{application-cloudevents}} data type transformer of {{azure-files}} sets
> {{CamelCloudEventSource}} to {{azure.storage.files.<host>}}, where the host
> is the storage account endpoint (for example
> {{myaccount.file.core.windows.net}}). The source names the account, not the
> share the files are consumed from, so two routes polling two shares of one
> account emit events with the same source.
> Since CAMEL-27101 the other Azure Storage transformers use the place the
> message was consumed from: the queue name (azure-storage-queue), the
> container name (azure-storage-blob) and the file system name
> (azure-storage-datalake). Do the same for azure-files: the consumer sets a
> new header with the share name, and the transformer builds the source as
> {{azure.storage.files.<share name>}}.
> This changes the source of existing events, so it goes in the 4.24 upgrade
> guide next to the CAMEL-27101 entry. The Kamelet azure-storage-files-source
> documents the source as "the Host name of the share" and needs the same
> change.
> _Claude Code on behalf of davsclaus_
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)