camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r810393 - /camel/trunk/camel-core/src/test/java/org/apache/camel/issues/GertJBIIssueTest.java
Date Wed, 02 Sep 2009 07:43:47 GMT
Author: davsclaus
Date: Wed Sep  2 07:43:47 2009
New Revision: 810393

URL: http://svn.apache.org/viewvc?rev=810393&view=rev
Log:
added unit test based on some JBI simulate endpoint not exists problem

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

Modified: camel/trunk/camel-core/src/test/java/org/apache/camel/issues/GertJBIIssueTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/test/java/org/apache/camel/issues/GertJBIIssueTest.java?rev=810393&r1=810392&r2=810393&view=diff
==============================================================================
--- camel/trunk/camel-core/src/test/java/org/apache/camel/issues/GertJBIIssueTest.java (original)
+++ camel/trunk/camel-core/src/test/java/org/apache/camel/issues/GertJBIIssueTest.java Wed
Sep  2 07:43:47 2009
@@ -117,9 +117,7 @@
                 errorHandler(deadLetterChannel("mock:dlc").maximumRedeliveries(0).handled(false));
 
                 from("direct:start")
-                    // must wait for task to complete to know if there was an exception
-                    // as its in-only based
-                    .threads(2).waitForTaskToComplete(WaitForTaskToComplete.Always)
+                    .threads(2)
                     .to("mock:done")
                     .throwException(new IllegalArgumentException("Forced"));
 



Mime
View raw message