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:04:08 UTC
svn commit: r781035 - in
/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/async:
SpringAsyncRouteNoWaitTest.xml SpringAsyncRouteNoWaitWithErrorTest.xml
SpringAsyncRouteTest.xml SpringAsyncRouteWithErrorTest.xml
Author: davsclaus
Date: Tue Jun 2 14:04:07 2009
New Revision: 781035
URL: http://svn.apache.org/viewvc?rev=781035&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/SpringAsyncRouteNoWaitTest.xml
camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/async/SpringAsyncRouteNoWaitWithErrorTest.xml
camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/async/SpringAsyncRouteTest.xml
camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/async/SpringAsyncRouteWithErrorTest.xml
Modified: camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/async/SpringAsyncRouteNoWaitTest.xml
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/async/SpringAsyncRouteNoWaitTest.xml?rev=781035&r1=781034&r2=781035&view=diff
==============================================================================
--- camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/async/SpringAsyncRouteNoWaitTest.xml (original)
+++ camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/async/SpringAsyncRouteNoWaitTest.xml Tue Jun 2 14:04:07 2009
@@ -1,3 +1,4 @@
+
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
@@ -32,8 +33,8 @@
<threads waitForTaskToComplete="Newer">
<to uri="mock:foo"/>
- <delay>
- <constant>100</constant>
+ <delay delayTime="500">
+ <constant/>
</delay>
<process ref="myProcessor"/>
<to uri="mock:result"/>
Modified: camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/async/SpringAsyncRouteNoWaitWithErrorTest.xml
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/async/SpringAsyncRouteNoWaitWithErrorTest.xml?rev=781035&r1=781034&r2=781035&view=diff
==============================================================================
--- camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/async/SpringAsyncRouteNoWaitWithErrorTest.xml (original)
+++ camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/async/SpringAsyncRouteNoWaitWithErrorTest.xml Tue Jun 2 14:04:07 2009
@@ -32,8 +32,8 @@
<threads waitForTaskToComplete="Newer">
<to uri="mock:foo"/>
- <delay>
- <constant>100</constant>
+ <delay delayTime="500">
+ <constant/>
</delay>
<process ref="myProcessor"/>
<to uri="mock:result"/>
Modified: camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/async/SpringAsyncRouteTest.xml
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/async/SpringAsyncRouteTest.xml?rev=781035&r1=781034&r2=781035&view=diff
==============================================================================
--- camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/async/SpringAsyncRouteTest.xml (original)
+++ camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/async/SpringAsyncRouteTest.xml Tue Jun 2 14:04:07 2009
@@ -32,8 +32,8 @@
<threads>
<to uri="mock:foo"/>
- <delay>
- <constant>500</constant>
+ <delay delayTime="500">
+ <constant/>
</delay>
<process ref="myProcessor"/>
<to uri="mock:result"/>
Modified: camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/async/SpringAsyncRouteWithErrorTest.xml
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/async/SpringAsyncRouteWithErrorTest.xml?rev=781035&r1=781034&r2=781035&view=diff
==============================================================================
--- camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/async/SpringAsyncRouteWithErrorTest.xml (original)
+++ camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/async/SpringAsyncRouteWithErrorTest.xml Tue Jun 2 14:04:07 2009
@@ -32,8 +32,8 @@
<threads>
<to uri="mock:foo"/>
- <delay>
- <constant>100</constant>
+ <delay delayTime="500">
+ <constant/>
</delay>
<process ref="myProcessor"/>
<to uri="mock:result"/>