camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r1059575 - /camel/trunk/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsInOnlyWithReplyToAsHeaderTest.java
Date Sun, 16 Jan 2011 14:44:22 GMT
Author: davsclaus
Date: Sun Jan 16 14:44:22 2011
New Revision: 1059575

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

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

Modified: camel/trunk/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsInOnlyWithReplyToAsHeaderTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsInOnlyWithReplyToAsHeaderTest.java?rev=1059575&r1=1059574&r2=1059575&view=diff
==============================================================================
--- camel/trunk/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsInOnlyWithReplyToAsHeaderTest.java
(original)
+++ camel/trunk/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsInOnlyWithReplyToAsHeaderTest.java
Sun Jan 16 14:44:22 2011
@@ -63,7 +63,9 @@ public class JmsInOnlyWithReplyToAsHeade
                     .to("log:foo?showAll=true", "mock:foo")
                     .transform(body().prepend("Bye "));
 
-                from("activemq:queue:bar")
+                // we should disable reply to to avoid sending the message back to our self
+                // after we have consumed it
+                from("activemq:queue:bar?disableReplyTo=true")
                     .to("log:bar?showAll=true", "mock:bar");
             }
         };



Mime
View raw message