You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Gert Vanthienen (JIRA)" <ji...@apache.org> on 2008/11/03 14:29:05 UTC

[jira] Commented: (SM-1673) Improve error handling in smx-camel

    [ https://issues.apache.org/activemq/browse/SM-1673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46997#action_46997 ] 

Gert Vanthienen commented on SM-1673:
-------------------------------------

Many thanks to Ron Gavlin for providing this patch!
It has been applied in http://svn.eu.apache.org/viewvc?view=rev&revision=710053

The only important thing I changed in the tests is in JbiInOnlyCamelErrorHandlingTest.testInOnlyWithNoHandleFault: the test in the patch expected 0 messages for mock:errors, but since we are dealing with InOnly JBI Exchanges that do not support a 'fault' message, the NPE being set is actually an Error and we expect that the deadletterchannel does receive the failed Exchange here.

> Improve error handling in smx-camel
> -----------------------------------
>
>                 Key: SM-1673
>                 URL: https://issues.apache.org/activemq/browse/SM-1673
>             Project: ServiceMix
>          Issue Type: Improvement
>          Components: servicemix-camel
>    Affects Versions: servicemix-camel-2008.01
>            Reporter: Ron Gavlin
>            Assignee: Gert Vanthienen
>         Attachments: smx-camel-errorhandling-tests.patch
>
>
> Improve error handling in smx-camel. I have attached additional unit tests to exercise error/fault handling functionality.

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