axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rich Scheuerle (JIRA)" <>
Subject [jira] Work started: (AXIS2-3130) MessageContext Persistance is causing inlined attachments + Performance concerns
Date Sat, 18 Aug 2007 13:30:33 GMT


Work on AXIS2-3130 started by Rich Scheuerle.

> MessageContext Persistance is causing inlined attachments + Performance concerns
> --------------------------------------------------------------------------------
>                 Key: AXIS2-3130
>                 URL:
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.4
>            Reporter: Rich Scheuerle
>            Assignee: Rich Scheuerle
> Summary: 
> When the MessageContext is persisted, it writes out its message (soapenvelope).
> Unfortunately, if there are attachments associated with the message, these are always
> inlined in the xml of the message.  The code must be changed to respect the optimize
> In addition, the current code buffers the Message multiple times.  
> This is a performance and footprint concern.
> ---------------------
> Solution Details:
> 1) Message Serialization is logically different than the rest of the Message Context
> Serialization.  I wrote a new class, MessageExternalizeUtils, to separate the logic.
> 2) The new MessageExternalizeUtils class uses the same logic as the transport layer to
> and write the message (for example it uses the transport MessageFormatter to write the
message).  This 
> corrects the attachment inlining problem.
> 3) MessageExternalizeUtils does not build a buffer containing the entire message.  Instead,
> the message is written/read in chunks.  This will improve performance and
> footprint for large messages.
> 4) The externalization format syntax is clearly defined in the MessageExternalizeUtils
class.  I have
> added debug trace and javadocs.
> I am testing my fix now.  I will contribute it soon
> Thanks,
> Rich

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:
For additional commands, e-mail:

View raw message