Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-20202

camel-azure - Consumers should avoid loading entire payload into memory

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.4.0
    • camel-azure
    • None
    • Unknown

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              jono Jono Morris
              davsclaus Claus Ibsen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: