However, for attachments greater 64k, I can not retrieve the content, the file has a size 0k. What is the problem?
Does CXF delete temporary files automatically? Kid_79 wrote: > > Ok, > thanks for your answer. > Where can I configure threshold and temporary file path? > > > dkulp wrote: >> >> On Wed July 15 2009 12:59:32 pm Kid_79 wrote: >>> Does cxf save attachments in temporary files? >> >> It depends. :-) >> >> In SOME cases, it doesn't need to save them anywhere. For example, if >> there >> is just a single attachment that is passed in as a param, we can directly >> stream it off the wire. No saving needed. >> >> If the attachments are small (default is 64K, but controllable), we also >> just >> keep them in memory. However, if they exceed that threshold, then yes, >> we >> dump them into temp files. >> >> Does that answer the question? >> -- >> Daniel Kulp >> [email protected] >> http://www.dankulp.com/blog >> >> > > -- View this message in context: http://www.nabble.com/CXF-and-Attachment-tp24502056p24514212.html Sent from the cxf-user mailing list archive at Nabble.com.
