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

Claus Ibsen resolved CAMEL-6193.
--------------------------------

    Resolution: Fixed
    
> mail component - When mapMailMessage=true we should eager map message
> ---------------------------------------------------------------------
>
>                 Key: CAMEL-6193
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6193
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-mail
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.11.0
>
>
> See CAMEL-6154
> The issue is that even if mapMailMessage=true, then the mail message is read 
> on demand, and not during the mail consumer.
> This causes problem as in CAMEL-6154, when using pollEnrich as the mail 
> consumer will finish the poll, and close the mail folder. And then the 
> message is aggregated afterwards, causing a folder closed exception.
> We dont see this in regular routes where we consume <from imap" because the 
> consumer closes at the very end of the routing, and we have accessed the mail 
> message during the routing.
> This is a little behavior change in the component, so lets do it on 2.11.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to