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/01/28 17:27:23 UTC

[2/4] git commit: Fixed test due recent test added in camel-core

Fixed test due recent test added in camel-core


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

Branch: refs/heads/master
Commit: 9542d07c8ede3fbb99cc6f5fb52e8b63b8b7c90e
Parents: 09aab55
Author: Claus Ibsen <da...@apache.org>
Authored: Tue Jan 28 17:16:56 2014 +0100
Committer: Claus Ibsen <da...@apache.org>
Committed: Tue Jan 28 17:16:56 2014 +0100

----------------------------------------------------------------------
 .../resources/org/apache/camel/spring/processor/delayer.xml  | 8 ++++++++
 1 file changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/9542d07c/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/delayer.xml
----------------------------------------------------------------------
diff --git a/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/delayer.xml b/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/delayer.xml
index 27907cc..0193561 100644
--- a/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/delayer.xml
+++ b/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/delayer.xml
@@ -24,6 +24,7 @@
 
     <!-- START SNIPPET: example -->
     <bean id="myDelayBean" class="org.apache.camel.processor.MyDelayCalcBean"/>
+    <bean id="exchangeAwareBean" class="org.apache.camel.processor.ExchangeAwareDelayCalcBean"/>
 
     <camelContext xmlns="http://camel.apache.org/schema/spring">
         <route>
@@ -47,6 +48,13 @@
             </delay>
             <to uri="mock:result"/>
         </route>
+        <route>
+            <from uri="seda:d"/>
+            <delay>
+                <method ref="exchangeAwareBean" method="delayMe"/>
+            </delay>
+            <to uri="mock:result"/>
+        </route>
     </camelContext>
     <!-- END SNIPPET: example -->