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

Reply via email to