Hi Suresh,
typically you will not want to send 400 MB xml. If it is ok to send it
as a MTOM attachment it is quite easy to not have the message in memory.
See: http://cxf.apache.org/docs/mtom-attachments-with-jaxb.html
So in this case you have a DataHandler as API and can e.g. directly
stream a file to it.
Christian
Am 12.12.2011 18:27, schrieb SureshG:
Hi,
We have a requirement to send a large response (400MB) with out attachments.
In one of the responses in the forum, I have read that there will be a
memory issue as the whole meesge will be in the memory. I am currently using
CXF 2.2.9. what are my options in dealing with the large responses? Are
there any better options available if I upgrade the CXF to the latest
version?
Thanks for your help
Suresh
--
View this message in context:
http://cxf.547215.n5.nabble.com/Large-response-400MB-options-tp5069008p5069008.html
Sent from the cxf-user mailing list archive at Nabble.com.
--
Christian Schneider
http://www.liquid-reality.de
Open Source Architect
Talend Application Integration Division http://www.talend.com