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

Christian Schneider commented on CAMEL-2142:
--------------------------------------------

Hi Willem,

I was also able to reproduce the problem in my patched version. For the 
meantime I added an onException clause to my non transactional route:
<onException>
  <exception>java.lang.Exception</exception>
  <handled><constant>true</constant></handled>
</onException>

> Add a flag to CamelTransportFactory to let camelDestination throw the 
> exception when it gets fault message 
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-2142
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2142
>             Project: Apache Camel
>          Issue Type: Improvement
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 1.6.2, 2.1.0
>
>
> Since we don't want to break the camel transport old feature which treats the 
> fault message as the normal message, 
> I plan to introduce a flag(checkException) to CamelTransportFactory to check 
> the fault message and through it out to the CamelContext.

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