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

Claus Ibsen resolved CAMEL-2344.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.0
         Assignee: Claus Ibsen

trunk: 897106

BTW: Camel 2.2 will also log an ERROR line if an Exception was thrown 
somewhere, so you get an early indication something was wrong.

I have also fixed the mail consumer to log the cause exception including the 
stacktrace.


> MailConsumer should log exception in processRollback
> ----------------------------------------------------
>
>                 Key: CAMEL-2344
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2344
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-mail
>    Affects Versions: 2.0.0
>            Reporter: Jörn Kottmann
>            Assignee: Claus Ibsen
>            Priority: Trivial
>             Fix For: 2.2.0
>
>
> The MailConsumer logs in the rollback case the exchange (line 162 in revision 
> 893983) but the exchange contains (usually ?) an exception which is not 
> logged.
> In my case the exception is thrown from a custom Expression which splits a 
> mail message.
> Only a rollback warning which contains the headers of the mail message is 
> logged which makes finding the actual cause difficult.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to