Hi,
I had a doubt about Default MTOM threshold, in this link https://jax-ws.java.net/jax-ws-21-ea1/d ... vs_In-line it states "JAXWS implementation has set a threshold of 1KB of byte[] size." so i thought it is 1kb, but if we check section 2.4.1 How to specify MTOM data Threshold it states "Default threshold value for MTOM feature is 0 bytes. "
So can you please let me know the default? or is it the case i misunderstood the concept?
Thanks.
Mujahed
MTOM Default threshold
Moderators: Site Manager, fjwalraven
-
- Posts: 15
- Joined: Sat Oct 25, 2014 1:58 am
- Contact:
-
- Posts: 429
- Joined: Tue Jul 24, 2012 2:43 am
- Contact:
Re: MTOM Default threshold
Hi Mujahed,
Good question!
The default threshold is 0 bytes.
Java EE6 is based on JAX-WS v2.2 (http://www.oracle.com/technetwork/java/ ... 55512.html)
If you download JSR224 (JAX-WS 2.2) you will find the following phrase:
Regards,
Frits
Good question!
The default threshold is 0 bytes.
Java EE6 is based on JAX-WS v2.2 (http://www.oracle.com/technetwork/java/ ... 55512.html)
If you download JSR224 (JAX-WS 2.2) you will find the following phrase:
The page you are referring to is probably outdated.The MTOMFeature has one property threshold, that can be configured to serve as a hint for which binary data SHOULD be sent as an attachment. The threshold is the size in bytes that binary data SHOULD be in order to be sent as an attachment. The threshold MUST not be negative. The default value is 0.
Regards,
Frits
-
- Posts: 15
- Joined: Sat Oct 25, 2014 1:58 am
- Contact:
Re: MTOM Default threshold
Thank you very much, your answer is very helpful.
Regards,
Mujahed
Regards,
Mujahed
Who is online
Users browsing this forum: No registered users and 6 guests