chibenwa opened a new pull request #445:
URL: https://github.com/apache/james-project/pull/445


   h3. What
   
   One of my customer reported me that a side effect was done two time upon 
MailetContainer execution.
   
   What was not my surprise when writing integration tests counting executions, 
that they were right!
   
   Tracking down the bug, I encountered that `MailImpl.duplicate` do not 
preserve state, hence processing resumes from ROOT processor (leaving the 
exchange).
   
   h3. The fix
   
   MatcherSplitter should preserve the state of the matched mail.
   
   h3. The complications
   
   Preserving several mails on the same exchange, we should not shut the 
exchange down before processing is finished. Doing so would result in following 
 I did set up reference counting for this.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to