camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r700335 - /activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/ErrorHandlerTest.java
Date Tue, 30 Sep 2008 04:53:15 GMT
Author: davsclaus
Date: Mon Sep 29 21:53:15 2008
New Revision: 700335

URL: http://svn.apache.org/viewvc?rev=700335&view=rev
Log:
added error handler with mock unit test based on user forum trouble

Modified:
    activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/ErrorHandlerTest.java

Modified: activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/ErrorHandlerTest.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/ErrorHandlerTest.java?rev=700335&r1=700334&r2=700335&view=diff
==============================================================================
--- activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/ErrorHandlerTest.java
(original)
+++ activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/ErrorHandlerTest.java
Mon Sep 29 21:53:15 2008
@@ -44,6 +44,8 @@
         MockEndpoint error = getMockEndpoint("mock:error");
         MockEndpoint result = getMockEndpoint("mock:result");
         error.expectedMessageCount(1);
+        // we exepect the orignal input when moved to the DLC queue
+        error.expectedBodiesReceived("Boom");
         result.expectedMessageCount(0);
 
         try {



Mime
View raw message