[ 
https://issues.apache.org/jira/browse/CAMEL-20995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrea Cosentino resolved CAMEL-20995.
--------------------------------------
    Resolution: Fixed

> 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.0.0, 4.4.0, 4.7.0
>            Reporter: Hareesh Billa
>            Assignee: Andrea Cosentino
>            Priority: Minor
>             Fix For: 4.0.6, 4.4.4, 4.8.0
>
>         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