You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2013/08/08 10:38:01 UTC

[3/3] git commit: CAMEL-6610 fixed the test error of SpringWireTapTest

CAMEL-6610 fixed the test error of SpringWireTapTest


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/0cc229d9
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/0cc229d9
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/0cc229d9

Branch: refs/heads/camel-2.10.x
Commit: 0cc229d9e8320af69089ed76449334b0b299ea91
Parents: af833fd
Author: Willem Jiang <ni...@apache.org>
Authored: Thu Aug 8 16:29:19 2013 +0800
Committer: Willem Jiang <ni...@apache.org>
Committed: Thu Aug 8 16:37:11 2013 +0800

----------------------------------------------------------------------
 .../apache/camel/spring/processor/SpringWireTapTest.xml  | 11 +++++++++++
 1 file changed, 11 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/0cc229d9/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/SpringWireTapTest.xml
----------------------------------------------------------------------
diff --git a/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/SpringWireTapTest.xml b/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/SpringWireTapTest.xml
index 718f42f..9abd708 100644
--- a/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/SpringWireTapTest.xml
+++ b/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/SpringWireTapTest.xml
@@ -40,6 +40,17 @@
             <to uri="mock:result"/>
             <to uri="mock:tap"/>
         </route>
+        
+        <route>
+        	<from uri="direct:test"/>
+        	<wireTap uri="direct:a" id="wiretap_1" />
+        	<to uri="mock:a"/>
+        </route>
+        
+        <route>
+            <from uri="direct:a"/>
+            <to uri="mock:b" />
+        </route>
     </camelContext>
 
 </beans>