Hareesh Billa created CAMEL-20995:
-------------------------------------

             Summary: camel-azure-storage-blob uploadBlockBlob retry operation 
fails due to mark and reset issue / Flux
                 Key: CAMEL-20995
                 URL: https://issues.apache.org/jira/browse/CAMEL-20995
             Project: Camel
          Issue Type: Bug
          Components: camel-azure
    Affects Versions: 4.7.0, 4.4.0, 4.0.0
            Reporter: Hareesh Billa
         Attachments: Code snip.png, Log trace

camel-azure-storage-blob uploadBlockBlob retry operation fails due to mark and 
reset issue / Flux


Due to some of the issues Azure blob storage retrying for upload again, but it 
is failed to upload due to the input stream length is 0 which is not expected.



As per the azure core/common bode Flux code suggestion it is suggested to make 
markAndreset request parameter to *true,* But the out camel component always 
send the parameter value as false.

*Solution:* Instead of sending the default value to false, we can use 
inputStream.markSupported() method.

Here I am adding traces and screenshots, for easy understanding.

Thanks.

 

 

 



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

Reply via email to