This content has been marked as final.
Show 1 reply
-
1. Re: How to implement Stream Unmarshaller in CXF-SE for large XML more than130MB
ffang Mar 12, 2010 1:14 AM (in response to sanjayk)Hi Sanjay,
As your consumer send mtom enabaled message, so you should also use mtom for cxf se endpoint ,which will avoid the big text based message unmarshall.
So add mtomEnabled="true"for your cxf se endpoint configuration, also ensure your se pojo method argument type is something like Datahandler.
Take a look at how to use mtom with cxf and the CxfSeMtomTest
http://cxf.apache.org/docs/mtom-attachments-with-jaxb.html
https://svn.apache.org/repos/asf/servicemix/components/engines/servicemix-cxf-se/trunk/src/test/java/org/apache/servicemix/cxfse/CxfSeMtomTest.java
Freeman