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 2009/06/02 16:02:11 UTC

svn commit: r781034 - /camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/async/SpringAsyncRouteWaitIfReplyExpectedTest.xml

Author: davsclaus
Date: Tue Jun  2 14:02:11 2009
New Revision: 781034

URL: http://svn.apache.org/viewvc?rev=781034&view=rev
Log:
Fixed unit test. Grrrr we gotta fix that ugly DSL for delayer in Spring DSL.

Modified:
    camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/async/SpringAsyncRouteWaitIfReplyExpectedTest.xml

Modified: camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/async/SpringAsyncRouteWaitIfReplyExpectedTest.xml
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/async/SpringAsyncRouteWaitIfReplyExpectedTest.xml?rev=781034&r1=781033&r2=781034&view=diff
==============================================================================
--- camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/async/SpringAsyncRouteWaitIfReplyExpectedTest.xml (original)
+++ camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/async/SpringAsyncRouteWaitIfReplyExpectedTest.xml Tue Jun  2 14:02:11 2009
@@ -32,8 +32,9 @@
 
             <threads waitForTaskToComplete="IfReplyExpected">
                 <to uri="mock:foo"/>
-                <delay>
-                    <constant>500</constant>
+                <!-- wait 0.5 sec -->
+                <delay delayTime="500">
+                    <constant/>
                 </delay>
                 <process ref="myProcessor"/>
                 <to uri="mock:result"/>