cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: What dataType in Dispatch API should I use to gain best performance?
Date Fri, 17 Jul 2015 14:25:05 GMT
Are you using MESSAGE mode or PAYLOAD mode.      PAYLOAD mode would certainly perform better,
particularly if you can leverage Stax source type objects.

MESSAGE mode always parses the whole message into a SOAPMessage which is certainly less efficient
and slower.

Dan



> On Jul 15, 2015, at 10:09 PM, iris ding <irisdingbj@gmail.com> wrote:
> 
> HI guys,
> Looking at the introduction for:
> http://cxf.apache.org/docs/jax-ws-dispatch-api.html
> 
> We supported below dataTypes:
> javax.xml.transform.Source
> javax.xml.soap.SOAPMessage
> javax.activation.DataSource
> JAXB
> 
> Currently we are using javax.xml.soap.SOAPMessage and it's performance is
> very bad. Do you know what dataType is suggested to gain best performance
> when using the Dispatch API? Or is there any CXF internal dataType that can
> be used to gain best performance?
> 
> 
> Thanks & Best Regards,
> 
> Iris Ding
> 
> 
> 
> 
> 
> --
> View this message in context: http://cxf.547215.n5.nabble.com/What-dataType-in-Dispatch-API-should-I-use-to-gain-best-performance-tp5759221.html
> Sent from the cxf-dev mailing list archive at Nabble.com.

-- 
Daniel Kulp
dkulp@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com


Mime
View raw message