-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configs for CamelAzurestorageblobsinkSinkConnector #1530
Comments
Hi @oscerd |
It's not related |
@oscerd |
Need to double check |
This could be done by specifying a Camel.file header on each message so you could directory/filename.ext |
thanks. i'll check and update here |
@oscerd
|
It's CamelHeader.CamelAzureStorageBlobBlobName Please read the documentation: https://camel.apache.org/components/3.20.x/azure-storage-blob-component.html#_endpoint_header_CamelAzureStorageBlobBlobName |
Hi @oscerd Here are the messages again. Do you have any other ideas? I went through the docs, but couldn't find a clue yet.
|
I think it is overriden by the Kamelet: can you try with CamelHeader.file=camel_test ? Also please note the fileDir header is related to the downloadBlobToFile operation and not the uploadBlockBlob. |
Thanks! it worked, and I can express the folder hierarchies, like Where can I find the possible other message headers configurations? I'd like to try them. |
Hello @tgib23 For the particular use case, the file header is specified in the Kamelet block of code here: https://github.com/apache/camel-kamelets/blob/main/kamelets/azure-storage-blob-sink.kamelet.yaml#L70-L86 So it will be mapped to the following header: CamelAzureStorageBlobBlobName So this is a case where the Kamelet overrides the value, with a header passed to it. Talking in general the headers for this component are here: https://camel.apache.org/components/3.20.x/azure-storage-blob-component.html#_message_headers Don't forget that you always need to prefix CamelHeader. to the header you're going to use. |
I'm closing this, but please re-open or report more issues if needed. |
Hi team,
I'm trying
CamelAzurestorageblobsinkSinkConnector
and just confirmed the file is created under the container specified bycamel.kamelet.azure-storage-blob-sink.containerName
.But is there any way to specify the path under the container, file name, and file extension?
The text was updated successfully, but these errors were encountered: