Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-3589

Matched mail resume processing from root

    XMLWordPrintableJSON

    Details

      Description

      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).

      The fix

      MatcherSplitter should preserve the state of the matched mail.

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              btellier Benoit Tellier
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 3.5h
                3.5h