Direct Streaming of attachments
-------------------------------
Key: AXIS2-2456
URL: https://issues.apache.org/jira/browse/AXIS2-2456
Project: Axis 2.0 (Axis2)
Issue Type: Wish
Affects Versions: 1.1.1
Environment: All
Reporter: Jochen Zink
It would be great to get direct access to the inputstream, which is used for
Attachments.
At the moment, the attachment is cached in files or it is stored in memory.
Big files can't store in memory (OutOfMemoryException) and the FileCaching
feature of axis could run in several problems. The first on, the application
has to clean up the cache directory. That is not nice. It is possible to run in
concurrent use of the temp Files.
The bigger problem is, that applicationservers can forbidden the write access
to hard disc. In this case, axis is not able to consume binary contents and
cache them in files.
The best solution is, that axis direct streams the attachment to the
application. I know, that could be difficult if some handlers also have to read
the stream (security, etc.). But it should be possible and would spend a very
very usefull and nice feature for using axis for business projects.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]