You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2013/03/21 15:01:16 UTC

[jira] [Resolved] (CAMEL-6193) mail component - When mapMailMessage=true we should eager map message

     [ 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