A client sends two MTOM-attachments to the server. Assume they are both big, and/or server resources are strained, so we want streaming.
Here, "streaming" means the attachments are not stored anywhere. Instead, they are consumed on the server side as they are generated by the client. With streaming, it is theoretically possible to send several attachments in one request, each of which is larger than the combined RAM, swap and hard drive space of both the client and the server machine.
It used to be possible to make this work with Apache CXF 2.3.1. MTOM-streaming no longer works with 2.6.0.
I have set up a Github workspace that can be used to demonstrate the problem,
We think the fix to https://issues.apache.org/jira/browse/CXF-3505 could be responsible for this issue.