[
https://issues.apache.org/jira/browse/AXIOM-12?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andreas Veithen updated AXIOM-12:
---------------------------------
Assignee: Andreas Veithen (was: Rich Scheuerle)
Currently, the isOptimized method in OMOutputFormat is defined as follows:
public boolean isOptimized() {
return doOptimize && !doingSWA; // optimize is disabled if SWA
}
Therefore, MTOM and SwA are actually already mutually exclusive (although no
exception is thrown when attempting to enable both of them).
I think that we can close this issue if we update the Javadoc accordingly.
> OMOutputFormat: doSWA and doOptimize should be mutually exclusive...plus we
> need doOptimizeThreshold
> ----------------------------------------------------------------------------------------------------
>
> Key: AXIOM-12
> URL: https://issues.apache.org/jira/browse/AXIOM-12
> Project: Axiom
> Issue Type: Bug
> Reporter: Rich Scheuerle
> Assignee: Andreas Veithen
> Fix For: 1.2.11
>
> Attachments: threahold.txt
>
>
> Scenario:
> OMOutputFormat is set with both doingSWA and doOptimize. In such cases, both
> cannot be satisifed.
> Solution:
> Prefer doingSWA if both are set.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]