camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r1391342 - in /camel/branches/camel-2.9.x: ./ camel-core/src/test/java/org/apache/camel/issues/RedeliveryErrorHandlerAsyncDelayedTwoCamelContextIssueTest.java
Date Fri, 28 Sep 2012 07:24:42 GMT
Author: davsclaus
Date: Fri Sep 28 07:24:42 2012
New Revision: 1391342

URL: http://svn.apache.org/viewvc?rev=1391342&view=rev
Log:
Made test cleanup nicely

Modified:
    camel/branches/camel-2.9.x/   (props changed)
    camel/branches/camel-2.9.x/camel-core/src/test/java/org/apache/camel/issues/RedeliveryErrorHandlerAsyncDelayedTwoCamelContextIssueTest.java

Propchange: camel/branches/camel-2.9.x/
------------------------------------------------------------------------------
  Merged /camel/trunk:r1391339
  Merged /camel/branches/camel-2.10.x:r1391341

Propchange: camel/branches/camel-2.9.x/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: camel/branches/camel-2.9.x/camel-core/src/test/java/org/apache/camel/issues/RedeliveryErrorHandlerAsyncDelayedTwoCamelContextIssueTest.java
URL: http://svn.apache.org/viewvc/camel/branches/camel-2.9.x/camel-core/src/test/java/org/apache/camel/issues/RedeliveryErrorHandlerAsyncDelayedTwoCamelContextIssueTest.java?rev=1391342&r1=1391341&r2=1391342&view=diff
==============================================================================
--- camel/branches/camel-2.9.x/camel-core/src/test/java/org/apache/camel/issues/RedeliveryErrorHandlerAsyncDelayedTwoCamelContextIssueTest.java
(original)
+++ camel/branches/camel-2.9.x/camel-core/src/test/java/org/apache/camel/issues/RedeliveryErrorHandlerAsyncDelayedTwoCamelContextIssueTest.java
Fri Sep 28 07:24:42 2012
@@ -41,6 +41,8 @@ public class RedeliveryErrorHandlerAsync
         context2.start();
 
         // now stop 1, and see that 2 is still working
+        consumer1.stop();
+        producer1.stop();
         context1.stop();
 
         producer2.sendBody("seda://input", "Hey2");
@@ -51,6 +53,8 @@ public class RedeliveryErrorHandlerAsync
         Assert.assertNotNull(ex2);
         Assert.assertEquals("Hey2", ex2.getIn().getBody());
 
+        consumer2.stop();
+        producer2.stop();
         context2.stop();
     }
 



Mime
View raw message