You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bv...@apache.org on 2013/01/21 15:56:53 UTC

svn commit: r1436389 - /camel/trunk/camel-core/src/test/java/org/apache/camel/issues/ExceptionTest.java

Author: bvahdat
Date: Mon Jan 21 14:56:52 2013
New Revision: 1436389

URL: http://svn.apache.org/viewvc?rev=1436389&view=rev
Log:
CAMEL-5983: Avoid the negative-tests to behave as false-positive.

Modified:
    camel/trunk/camel-core/src/test/java/org/apache/camel/issues/ExceptionTest.java

Modified: camel/trunk/camel-core/src/test/java/org/apache/camel/issues/ExceptionTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/test/java/org/apache/camel/issues/ExceptionTest.java?rev=1436389&r1=1436388&r2=1436389&view=diff
==============================================================================
--- camel/trunk/camel-core/src/test/java/org/apache/camel/issues/ExceptionTest.java (original)
+++ camel/trunk/camel-core/src/test/java/org/apache/camel/issues/ExceptionTest.java Mon Jan 21 14:56:52 2013
@@ -40,7 +40,7 @@ public class ExceptionTest extends Conte
         // so that the general purpose dead letter channel will come into the play here and then when all
         // the attempts of redelivery fail the exchange will be moved to "mock:error" and then from the client
         // point of view the exchange is completed.
-        template.requestBody("direct:start", "<body/>");
+        template.sendBody("direct:start", "<body/>");
 
         assertMockEndpointsSatisfied();
     }