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

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

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

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

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ 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

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

Posted by "Donald Whytock (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-3908?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Donald Whytock updated CAMEL-3908:
----------------------------------

    Attachment: MailConsumer.java

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

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

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-3908?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-3908.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.8.0

Thanks Donald.

> 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
>             Fix For: 2.8.0
>
>         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