Uploaded image for project: 'Axiom'
  1. Axiom
  2. AXIOM-275

Implement non JavaMail implementation of MultipartWriter

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.2.11
    • API
    • None

    Description

      Axiom currently uses JavaMail to produce MIME messages. Since JavaMail expects the content of a part to be provided as a DataHandler object, this means that the root part (i.e. the SOAP message) cannot be streamed and must be buffered in memory, generating unnecessary overhead. Axiom 1.2.9 introduced a new API called MultipartWriter with a contract that allows streaming. Since the default implementation currently uses JavaMail, that option is not used.

      The task is to write an alternative implementation of MultipartWriter that avoids buffering the root part and that is optimized for XOP and SwA (where e.g. it is not necessary to take into account stuff like 7bit encoding). Maybe it is possible to use an existing library (mime4j?) for this.

      Attachments

        Activity

          People

            veithen Andreas Veithen
            veithen Andreas Veithen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: