[
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