Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-4720

Binary size is equal with MTOM threshold should not be sent as attachment

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6.2, 2.6.3
    • 2.5.8, 2.6.5, 2.7.2
    • JAX-WS Runtime
    • None
    • Unknown

    Description

      Javadoc of javax.xml.ws.soap.MTOM says below.

      public abstract int threshold - Property for MTOM threshold value. When MTOM is enabled, binary data above this size in bytes will be XOP encoded or sent as attachment. The value of this property MUST always be >= 0. Default value is 0.

      With this statement, binary data whose size is equal with threshold should not be sent as attachment.

      Attachments

        1. CXF-4720.patch
          0.7 kB
          Hong Fang Han

        Activity

          People

            dkulp Daniel Kulp
            hanhongfang Hong Fang Han
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: