Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-18808

camel-azure-storage-blob producer doesn't use CamelAzureStorageBlobBlobSize-header

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.18.4
    • 3.18.5, 3.20.0
    • camel-azure
    • None
    • Unknown

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jwwallin Jussi Wallin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: