[ 
https://issues.apache.org/activemq/browse/CAMEL-885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45666#action_45666
 ] 

Claus Ibsen commented on CAMEL-885:
-----------------------------------

I am proposing this change
==========================
 - If exchange has exception then throw it (wrapped as RuntimeCamelException as 
the plain send method does).
 - If has FAULT message then return FAULT message
 - as before, return either IN/OUT based on exchange pattern



> DefaultProducerTemplate.extractResultBody() should throw an exception if 
> there was a failure rather than returning the input message
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-885
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-885
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 1.4.0
>            Reporter: James Strachan
>            Assignee: Claus Ibsen
>            Priority: Critical
>             Fix For: 1.5.0
>
>
> we should throw an exception if there was a Fault or the exchange contains an 
> Exception

-- 
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