Details
-
New Feature
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
Problem:
For copying a blob file from one Azure blob storage to another Azure blob storage, we have to get the blob file and upload it to another location using the camel route. In some cases we have to convert the body to byte[] in order to avoid the Stream error included below and I believe this would result in causing memory issues while handling large size files based on this approach.
Stack overflow Reference : https://stackoverflow.com/questions/69767784/apache-camel-azure-blob-to-azure-blob-route-file-transfer-feasibility
Proposal :
Microsoft Azure supports copy blob operation which is useful to copy blobs from one storage to another without loading the file content. As per the latest version of azure blob component of Camel, its not available in the supported BlobOperation.
Raising this ticket to include this COPY BLOB operation in the subsequent release from your side.
Ref : https://docs.microsoft.com/en-us/rest/api/storageservices/copy-blob