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

Enable Streaming in MarschalProcessor

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.12.0
    • 2.12.1, 2.13.0
    • camel-core
    • None
    • Patch Available
    • Unknown

    Description

      Use CachedOutputStream in MarschalProcessor to enable streaming instead of ByteArrayOutputStream. This will help to process large data without producing out-of-memory problems.

      It is possible to return to the old behavior from Camel 2.12 onwards with help of a StreamCachingStrategy. You have only to switch off the file caching.

      Attachments

        1. patchMarschallProcessor.txt
          1 kB
          Franz Forsthofer

        Activity

          People

            davsclaus Claus Ibsen
            forsthofer Franz Forsthofer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: