Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.1.7
    • Fix Version/s: 2.2.6
    • Component/s: runtime
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      582

      Description

      I use CXF/JAXB for webservices. Some of my webservice methods can return large
      binary content, for example, from a file or from the database. Our backend
      nicely creates an InputStream object which should be read by the marshaller and
      streamed to the output while converting to base64 text. Instead, the
      implementation forces all the content into one big byte array before sending it
      to the output. This will chew up alot of the memory on the server and create a
      latency for response to the web method. There is a comment in the code for a
      future enhancement. (See
      com.sun.xml.bind.v2.runtime.unmarshaller.Base64Data.writeTo)

        Activity

        Hide
        Martin Grebac added a comment -

        increasing priority so that I look into this

        Show
        Martin Grebac added a comment - increasing priority so that I look into this
        Hide
        Martin Grebac added a comment -

        Not sure exactly about the usecase but Base64Data has been enhanced with writeTo(XMLStreamWriter) some time ago. Feel free to reopen with more details on the usecase. Thanks.

        Show
        Martin Grebac added a comment - Not sure exactly about the usecase but Base64Data has been enhanced with writeTo(XMLStreamWriter) some time ago. Feel free to reopen with more details on the usecase. Thanks.

          People

          • Assignee:
            Martin Grebac
            Reporter:
            iamcoder
          • Votes:
            2 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: