camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r789179 - /camel/trunk/camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregatorRouteNumberOfProcessorTest.java
Date Mon, 29 Jun 2009 00:49:26 GMT
Author: ningjiang
Date: Mon Jun 29 00:49:26 2009
New Revision: 789179

URL: http://svn.apache.org/viewvc?rev=789179&view=rev
Log:
Fixed the unit test error of AggregatorRouteNumberOfProcessorTest on windows box

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

Modified: camel/trunk/camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregatorRouteNumberOfProcessorTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregatorRouteNumberOfProcessorTest.java?rev=789179&r1=789178&r2=789179&view=diff
==============================================================================
--- camel/trunk/camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregatorRouteNumberOfProcessorTest.java
(original)
+++ camel/trunk/camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregatorRouteNumberOfProcessorTest.java
Mon Jun 29 00:49:26 2009
@@ -73,8 +73,8 @@
 
         getMockEndpoint("mock:foo").expectedBodiesReceived("Hi Willem");
 
-        template.requestBodyAndHeader("direct:start", "Claus", "id", 1);
-        template.requestBodyAndHeader("direct:start", "Willem", "id", 1);
+        template.sendBodyAndHeader("direct:start", "Claus", "id", 1);
+        template.sendBodyAndHeader("direct:start", "Willem", "id", 1);
 
         assertMockEndpointsSatisfied();
 
@@ -120,8 +120,8 @@
         getMockEndpoint("mock:agg").expectedBodiesReceived("Hi Willem");
         getMockEndpoint("mock:foo").expectedBodiesReceived("Hi Willem");
 
-        template.sendBodyAndHeader("direct:start", ExchangePattern.InOnly, "Claus", "id",
1);
-        template.sendBodyAndHeader("direct:start", ExchangePattern.InOnly, "Willem", "id",
1);
+        template.sendBodyAndHeader("direct:start", "Claus", "id", 1);
+        template.sendBodyAndHeader("direct:start", "Willem", "id", 1);
 
         assertMockEndpointsSatisfied();
 



Mime
View raw message