Make MimeMessageWrapper copy of Message configurable
----------------------------------------------------

                 Key: JAMES-1100
                 URL: https://issues.apache.org/jira/browse/JAMES-1100
             Project: JAMES Server
          Issue Type: Improvement
          Components: James Core
    Affects Versions: 3.0-M1, 2.3.2, 2.3.1, 2.3.0
            Reporter: Norman Maurer
            Assignee: Norman Maurer
             Fix For: 3.0-M2


MimeMessageWrapper store the whole message content into a byte array if it is 
constructed from a MimeMessage. This is fast but can raise the memory usage 
while processing many mails. The copy is only triggered when you have Matchers 
which not match all or none recipients, but even then its only needed when the 
message must be altered.

So often the Message is not copied at all. Neverless we should make it 
configurable to use a temporary file for the copy to save memory. This is best 
implemented by using a System property

-- 
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]

Reply via email to