Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Complete
    • Affects Version/s: 2.1.1
    • Fix Version/s: 2.2 M3 Sprint 2, 2.2 M3
    • Component/s: Mail Support
    • Labels:
      None

      Description

      We would like to use Spring Integration 2.1.1 to read mail off a POP3 mailbox transactionally. This transactionality is so that we can read an email message and persist it to Oracle and remove from the mailbox. In the event of a transaction rollback we want the email to remain in the mailbox (i.e. not be deleted).

      Our problem is that, despite being in a transaction (more detail on that in a second) the mailbox is opened, the mail is retrieved, marked for deletion and the connection closed irrespective of the rest of the transaction. This means it is too late to not delete the mail if something fails later on (as the connection is closed and the mailbox gone into UPDATE state which permanently removes the email).

      For more details on this see the forum post at: http://forum.springsource.org/showthread.php?127246-Transactional-POP3-Mailbox-access-with-Spring-Integration

        Attachments

          Activity

            People

            • Assignee:
              grussell Gary Russell
              Reporter:
              al94781 Andrew Harmel-Law
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1.5d
                1.5d
                Remaining:
                Remaining Estimate - 0d
                0d
                Logged:
                Time Spent - 1.5d
                1.5d