Hi Aki,
There are some deeper issues here around the way messages are persisted.
Right now the message is just captured as sent on the wire. This works
fine for plain messages, but once you add in WS-Security the handling
needs to change so that the security information (timestamps, in
particular) can be updated for each retransmission. That's going to
require intercepting the message at a different point in the processing,
and persisting in a different form.
So by all means go ahead with the fix in CXF-1100, but there are going
to be more changes needed a little down the line.
- Dennis
Dennis M. Sosnoski
Java SOA and Web Services Consulting <http://www.sosnoski.com/consult.html>
Axis2/CXF/Metro SOA and Web Services Training
<http://www.sosnoski.com/training.html>
Web Services Jump-Start <http://www.sosnoski.com/jumpstart.html>
On 03/17/2011 11:56 AM, Aki Yoshida wrote:
Hi,
Yes. That is correct. And there is already a JIRA ticket CXF=1100 for
this limitaiton. I was planning to work on this along the line
suggested in this ticket. If no one is working on it, I would like to
look into it next week and work on it.
Regards, aki
2011/3/16 Fraser, Dougal<[email protected]>:
CXF 2.3.3
I am using WS-RM to send large messages with attachments. The attachments are
currently only up to 15 MB, but they could grow to 400 MB or higher.
If I understand the code correctly, both client and sender convert the complete
message (including the attachment) to a byte array for processing. This works
fine for the smaller messages, but as the messages grow the memory burden of
this will become a significant issue.
Is my understanding correct?
Is there any way to stream the data to avoid the memory overhead?
I look forward to your feedback,
Dougal Fraser | Websphere Developer
Integration Stream
Auckland Council
Visit our website:
www.aucklandcouncil.govt.nz<http://www.aucklandcouncil.govt.nz>
[Auckland Council]
CAUTION: This email message and any attachments contain information that may be
confidential and may be LEGALLY PRIVILEGED. If you are not the intended
recipient, any use, disclosure or copying of this message or attachments is
strictly prohibited. If you have received this email message in error please
notify us immediately and erase all copies of the message and attachments. We
do not accept responsibility for any viruses or similar carried with our email,
or any effects our email may have on the recipient computer system or network.
Any views expressed in this email may be those of the individual sender and may
not necessarily reflect the views of Council.