camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAMEL-266) make it easy to throw a SOAP fault in a Camel route
Date Thu, 20 Mar 2008 12:21:32 GMT

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

Willem Jiang commented on CAMEL-266:
------------------------------------

Hi James,

Here is a Unit test in camel-cxf component [1] which shows how to throw a soap fault from
the processor. I  don't know if it relate to this JIRA. 
Do we still need to support the DSL style throwFault() method ?

[1] https://svn.apache.org/repos/asf/activemq/camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfCustmerizedExceptionTest.java

Willem

> make it easy to throw a SOAP fault in a Camel route
> ---------------------------------------------------
>
>                 Key: CAMEL-266
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-266
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core, camel-cxf
>            Reporter: James Strachan
>            Assignee: Willem Jiang
>
> we should be able to easily throw an exception or a SOAP fault from inside a Camel route.
e.g. something vaguely like..
> {code}
> from("foo").
>   filter().xquery("/foo/bar = 'abc').throwFault().xquery("<someFaultExpression/>").end().
>   to("success");
> {code}

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


Mime
View raw message