Claus Ibsen created CAMEL-20202:
-----------------------------------

             Summary: camel-azure - Consumers should avoid loading entire 
payload into memory
                 Key: CAMEL-20202
                 URL: https://issues.apache.org/jira/browse/CAMEL-20202
             Project: Camel
          Issue Type: Improvement
          Components: camel-azure
            Reporter: Claus Ibsen
             Fix For: 4.x


Noticed that queue consumer does a .toString on the BinaryData
https://github.com/apache/camel/blob/dc21c229d6351024d58f00a5fc00ce96c3c84cb5/components/camel-azure/camel-azure-storage-queue/src/main/java/org/apache/camel/component/azure/storage/queue/QueueConsumer.java#L160

There is a toStream method we should use.
However if using stream you may need to close it, so we need to add UoW to 
close stream when exchange is done.





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

Reply via email to