[
https://issues.apache.org/jira/browse/JAMES-1130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benoit Tellier closed JAMES-1130.
---------------------------------
Resolution: Won't Fix
> Make it possible to share MimeMessageSource till the message body needs to
> get altered
> --------------------------------------------------------------------------------------
>
> Key: JAMES-1130
> URL: https://issues.apache.org/jira/browse/JAMES-1130
> Project: James Server
> Issue Type: Improvement
> Components: James Core
> Reporter: Norman Maurer
> Assignee: Norman Maurer
> Priority: Major
> Fix For: 3.0.0
>
>
> At the moment as soon as the message content needs to get altered we "copy"
> the whole MimeMessage (when it is shared between Mail instances). Thats a
> waste of resources, when only the headers are modified (which is the case
> most of the time). We should better copy the headers into memory if needed
> and do the modification there. Then when write back the MimeMessage into the
> queue/store/etc we would just read the headers from memory and skip to read
> them from the MimeMessageSource.
> That would be a way more efficient,
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]