Benoit Tellier created JAMES-3589:
-------------------------------------
Summary: Matched mail resume processing from root
Key: JAMES-3589
URL: https://issues.apache.org/jira/browse/JAMES-3589
Project: James Server
Issue Type: Bug
Components: MailStore & MailRepository
Affects Versions: 3.5.0, 3.6.0
Reporter: Benoit Tellier
Fix For: 3.7.0, 3.6.1
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 message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]