Author: davsclaus
Date: Mon May 18 14:46:09 2009
New Revision: 775971

URL: http://svn.apache.org/viewvc?rev=775971&view=rev
Log:
CAMEL-1557: Use setFaultBodty instead of throwFault.

Modified:
    
camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfCustomizedExceptionTest.java

Modified: 
camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfCustomizedExceptionTest.java
URL: 
http://svn.apache.org/viewvc/camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfCustomizedExceptionTest.java?rev=775971&r1=775970&r2=775971&view=diff
==============================================================================
--- 
camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfCustomizedExceptionTest.java
 (original)
+++ 
camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfCustomizedExceptionTest.java
 Mon May 18 14:46:09 2009
@@ -80,7 +80,7 @@
         return new RouteBuilder() {
             public void configure() {
                 // START SNIPPET: ThrowFault
-                from(routerEndpointURI).throwFault(SOAP_FAULT);
+                from(routerEndpointURI).setFaultBody(constant(SOAP_FAULT));
                 // END SNIPPET: ThrowFault
             }
         };


Reply via email to