Reneesh created CAMEL-17530:
-------------------------------

             Summary: Support for Azure Lease Blob options in Camel component
                 Key: CAMEL-17530
                 URL: https://issues.apache.org/jira/browse/CAMEL-17530
             Project: Camel
          Issue Type: New Feature
          Components: camel-azure, camel-spring-boot
    Affects Versions: 3.14.0
            Reporter: Reneesh


*Problem:*
While accessing files from Azure blob in a concurrent executions environment, 
there is no way in which the file can be locked or leased by the application 
using Camel URI options or configurations, this results in executing the same 
file by different process if its available and cause exception while performing 
file processing and ended up in error.

*Solution:*
Azure API supports a Lease Blob operation, which can be used to lease a file 
for some duration while processing a file and later lease can be released upon 
completing the file processing. It will help in preventing the file being 
accessed by different process. 

Reference : 
[https://docs.microsoft.com/en-us/rest/api/storageservices/lease-blob]

It would be great if we can improve the camel azure storage component with this 
feature for upcoming releases or versions.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to