[ http://issues.apache.org/jira/browse/JAMES-421?page=all ]
Stefano Bagnara updated JAMES-421:
----------------------------------
Attachment: copyonwriteproxy.patch
This is the full patch after adding optimizations in the code that expected to
find MimeMessageWrappers instead.
This should fix the bug without the loss of performance of a full copy every
time. Needs testing.
> MailImpls sharing MimeMessages / LinearProcessor not cloning it after a
> partial match.
> --------------------------------------------------------------------------------------
>
> Key: JAMES-421
> URL: http://issues.apache.org/jira/browse/JAMES-421
> Project: James
> Type: Bug
> Components: James Core
> Versions: 2.2.0, 2.3.0
> Reporter: Stefano Bagnara
> Assignee: Stefano Bagnara
> Priority: Critical
> Fix For: 2.3.0
> Attachments: LinearProcessorTest.java, MimeMessageCopyOnWriteProxy.java,
> copyonwriteproxy.patch
>
> LinearProcessor match a single recipient for a 2 recipient mail.
> it run "MailImpl.duplicate". duplicate DOES NOT clone the "MimeMessage".
> The following mailet will handle 2 different MailImpl sharing the same
> MimeMessage.
> Attached is the proving test.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]