camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r1408188 - /camel/trunk/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsAsyncStopListenerTest.java
Date Mon, 12 Nov 2012 08:41:19 GMT
Author: davsclaus
Date: Mon Nov 12 08:41:18 2012
New Revision: 1408188

URL: http://svn.apache.org/viewvc?rev=1408188&view=rev
Log:
Fixed test

Modified:
    camel/trunk/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsAsyncStopListenerTest.java

Modified: camel/trunk/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsAsyncStopListenerTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsAsyncStopListenerTest.java?rev=1408188&r1=1408187&r2=1408188&view=diff
==============================================================================
--- camel/trunk/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsAsyncStopListenerTest.java
(original)
+++ camel/trunk/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsAsyncStopListenerTest.java
Mon Nov 12 08:41:18 2012
@@ -38,8 +38,8 @@ public class JmsAsyncStopListenerTest ex
         MockEndpoint result = getMockEndpoint("mock:result");
         result.expectedMessageCount(2);
 
-        template.sendBody("activemq:queue:hello", "Hello World");
-        template.sendBody("activemq:queue:hello", "Gooday World");
+        template.sendBody("activemq:queue:hello2", "Hello World");
+        template.sendBody("activemq:queue:hello2", "Gooday World");
 
         result.assertIsSatisfied();
     }
@@ -58,7 +58,7 @@ public class JmsAsyncStopListenerTest ex
     protected RouteBuilder createRouteBuilder() throws Exception {
         return new RouteBuilder() {
             public void configure() throws Exception {
-                from("activemq:queue:hello").to("mock:result");
+                from("activemq:queue:hello2").to("mock:result");
             }
         };
     }



Mime
View raw message