You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2009/06/29 16:56:06 UTC

svn commit: r789351 - /camel/trunk/camel-core/src/test/java/org/apache/camel/processor/enricher/PollEnricherTest.java

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");