You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2011/04/27 23:02:03 UTC

[jira] [Assigned] (CAMEL-3908) Prevent "FolderNotOpen" exception when closing out an email exchange

     [ https://issues.apache.org/jira/browse/CAMEL-3908?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen reassigned CAMEL-3908:
----------------------------------

    Assignee: Claus Ibsen

> Prevent "FolderNotOpen" exception when closing out an email exchange
> --------------------------------------------------------------------
>
>                 Key: CAMEL-3908
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3908
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-mail
>    Affects Versions: 2.7.1
>            Reporter: Donald Whytock
>            Assignee: Claus Ibsen
>         Attachments: MailConsumer.java
>
>
> When an email exchange is complete it should set either the SEEN or DELETED flags in the folder on the email server.  But if the folder isn't open, either because of automatic closing or timeout, attempting to set the flag results in a FolderNotOpen exception.  The attached version of MailConsumer includes a check in processCommit() that opens the folder if it's not open at exchange completion.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira