camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hadr...@apache.org
Subject svn commit: r830769 - /camel/trunk/camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregatorTimerAndTracerTest.java
Date Wed, 28 Oct 2009 21:40:13 GMT
Author: hadrian
Date: Wed Oct 28 21:40:13 2009
New Revision: 830769

URL: http://svn.apache.org/viewvc?rev=830769&view=rev
Log:
fix test timing issue; always start seda consumers before producers

Modified:
    camel/trunk/camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregatorTimerAndTracerTest.java

Modified: camel/trunk/camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregatorTimerAndTracerTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregatorTimerAndTracerTest.java?rev=830769&r1=830768&r2=830769&view=diff
==============================================================================
--- camel/trunk/camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregatorTimerAndTracerTest.java
(original)
+++ camel/trunk/camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregatorTimerAndTracerTest.java
Wed Oct 28 21:40:13 2009
@@ -38,14 +38,13 @@
         return new RouteBuilder() {
             public void configure() throws Exception {
                 getContext().setTracing(true);
-
-                from("timer://kickoff?period=9999910000").
-                    setHeader("id").constant("foo").setBody().constant("a b c").
-                    split(body().tokenize(" ")).to("seda:splitted");
-
+                
                 from("seda:splitted").
                     aggregate(header("id")).
                     to("mock:result");
+                from("timer://kickoff?period=9999910000").
+                    setHeader("id").constant("foo").setBody().constant("a b c").
+                    split(body().tokenize(" ")).to("seda:splitted");
             }
         };
     }



Mime
View raw message