You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Jörn Kottmann (JIRA)" <ji...@apache.org> on 2010/01/07 21:17:16 UTC
[jira] Created: (CAMEL-2344) MailConsumer should log exception in
processRollback
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
Priority: Trivial
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.
[jira] Resolved: (CAMEL-2344) MailConsumer should log exception in
processRollback
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ 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.