You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2011/05/23 14:30:47 UTC

[jira] [Resolved] (CAMEL-4005) Log warning message when the exchange fault message and exception are set at the same time

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

Willem Jiang resolved CAMEL-4005.
---------------------------------

    Resolution: Fixed

Applied patch into trunk.

> Log warning message when the exchange fault message and exception are set at the same time
> ------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-4005
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4005
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>            Priority: Minor
>             Fix For: 2.8.0
>
>
> Setting both exception and fault message into Camel exchange isn't something that can be easily handleable or understandable. There are just too many variations possible to handle it in a single, understandable and uniform way. Therefore, we should let Camel pipeline to check OUT message of the camel exchange to see if it is a Fault or not. In case it is, then we should print out a WARNING message in the log to clearly indicate it.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira