Hi all, I implemented a temporary file caching solution for Axis2.With this we'll be able to directly pump the mime parts in incoming stream to temporary files, without buffering them at all in memory. We achieve this by parsing the part headers by our selves and then writing the rest of the part to a temporary file till we reach the boundary...
Anybody can switch on file caching from the server.xml. When it's set to true all the parts will get stored as files.. Also one can specify the directory where attachments should be stored.. When it's not mentioned we are saving it in the working directory which is bit troublesome.... Also is there any way to delete the temporary files after consuming them.. thanx & regards, ~Thilina -- "May the SourcE be with u" http://www.bloglines.com/blog/thilina
