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

camel-netty4-http - Allow direct streaming from big files to file output stream to disk

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0.RC1, 3.0.0
    • camel-netty4-http
    • None
    • Unknown

    Description

      Netty4 HTTP reads the entire stream into memory using io.netty.handler.codec.http.HttpObjectAggregator to build the entire full http message. But the resulting message is still a stream based message which is readable once.
      from:
      https://github.com/apache/camel/blob/master/components/camel-netty4-http/src/main/docs/netty4-http-component.adoc

      This would mean I can't, using Netty, send big files over HTTP.
      Is there something we can do with the Netty component to allow full streaming?

      For example for very big files like 1gb files etc.

      Attachments

        Issue Links

          Activity

            People

              acosentino Andrea Cosentino
              davsclaus Claus Ibsen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m