You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Jussi Wallin (Jira)" <ji...@apache.org> on 2022/12/12 07:57:00 UTC

[jira] [Created] (CAMEL-18808) camel-azure-storage-blob producer doesn't allow using CamelAzureStorageBlobBlobSize

Jussi Wallin created CAMEL-18808:
------------------------------------

             Summary: camel-azure-storage-blob producer doesn't allow using CamelAzureStorageBlobBlobSize 
                 Key: CAMEL-18808
                 URL: https://issues.apache.org/jira/browse/CAMEL-18808
             Project: Camel
          Issue Type: Improvement
          Components: camel-azure
    Affects Versions: 3.18.4
            Reporter: Jussi Wallin


In some cases when trying to upload large files to Azure Blob Storage it may be necessary to transfer it directly from a file. FileInputStream doesn't support mark which means that the BlobProducer isn't able to determine the size of the file. The AzureBlockBlobClient, that is used internally, doesn't allow blobs of size greater than 0 to be uploaded if the size is defined to be 0.

One way of getting around this limitation is to add the ability to use the CamelAzureStorageBlobBlobSize -header to override the logic for determining the size within the upload operation.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)