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 2014/03/11 09:51:32 UTC
[5/9] git commit: Fixed test
Fixed test
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/932f4098
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/932f4098
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/932f4098
Branch: refs/heads/master
Commit: 932f4098fe000af97b07af406b2bc15620f342ea
Parents: 6c0f9be
Author: Claus Ibsen <da...@apache.org>
Authored: Tue Mar 11 09:47:57 2014 +0100
Committer: Claus Ibsen <da...@apache.org>
Committed: Tue Mar 11 09:47:57 2014 +0100
----------------------------------------------------------------------
.../component/jms/JmsInOnlyWithReplyToHeaderTopicTest.java | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/932f4098/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsInOnlyWithReplyToHeaderTopicTest.java
----------------------------------------------------------------------
diff --git a/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsInOnlyWithReplyToHeaderTopicTest.java b/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsInOnlyWithReplyToHeaderTopicTest.java
index bb30ab1..a2e3a91 100644
--- a/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsInOnlyWithReplyToHeaderTopicTest.java
+++ b/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsInOnlyWithReplyToHeaderTopicTest.java
@@ -65,9 +65,14 @@ public class JmsInOnlyWithReplyToHeaderTopicTest extends CamelTestSupport {
public void configure() throws Exception {
from("activemq:queue:foo")
.transform(body().prepend("Hello "))
+ .to("log:result")
.to("mock:result");
- from("activemq:topic:bar").to("mock:bar");
+ // we should disable reply to to avoid sending the message back to our self
+ // after we have consumed it
+ from("activemq:topic:bar?disableReplyTo=true")
+ .to("log:bar")
+ .to("mock:bar");
}
};
}