camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r789351 - /camel/trunk/camel-core/src/test/java/org/apache/camel/processor/enricher/PollEnricherTest.java
Date Mon, 29 Jun 2009 14:56:06 GMT
Author: davsclaus
Date: Mon Jun 29 14:56:06 2009
New Revision: 789351

URL: http://svn.apache.org/viewvc?rev=789351&view=rev
Log:
fixed unit test repoted by TC

Modified:
    camel/trunk/camel-core/src/test/java/org/apache/camel/processor/enricher/PollEnricherTest.java

Modified: camel/trunk/camel-core/src/test/java/org/apache/camel/processor/enricher/PollEnricherTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/enricher/PollEnricherTest.java?rev=789351&r1=789350&r2=789351&view=diff
==============================================================================
--- camel/trunk/camel-core/src/test/java/org/apache/camel/processor/enricher/PollEnricherTest.java
(original)
+++ camel/trunk/camel-core/src/test/java/org/apache/camel/processor/enricher/PollEnricherTest.java
Mon Jun 29 14:56:06 2009
@@ -103,7 +103,7 @@
     public void testPollEnrichInOutPlusHeader() throws InterruptedException {
         template.sendBody("seda:foo4", "blah");
 
-        Exchange exchange = template.send("direct:enricher-test-4", ExchangePattern.InOut,
new Processor() {
+        Exchange exchange = template.request("direct:enricher-test-4", new Processor() {
             public void process(Exchange exchange) {
                 exchange.getIn().setHeader("foo", "bar");
                 exchange.getIn().setBody("test");



Mime
View raw message