You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Han Hong Fang (JIRA)" <ji...@apache.org> on 2012/12/21 17:23:12 UTC

[jira] [Updated] (CXF-4720) Binary size is equal with MTOM threshold should not be sent as attachment

     [ https://issues.apache.org/jira/browse/CXF-4720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Han Hong Fang updated CXF-4720:
-------------------------------

    Attachment: CXF-4720.patch

Patch is attached, please help to review. TIA!
                
> Binary size is equal with MTOM threshold should not be sent as attachment
> -------------------------------------------------------------------------
>
>                 Key: CXF-4720
>                 URL: https://issues.apache.org/jira/browse/CXF-4720
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>    Affects Versions: 2.6.2, 2.6.3
>            Reporter: Han Hong Fang
>             Fix For: 2.6.4
>
>         Attachments: CXF-4720.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira