Author: davsclaus
Date: Wed Dec 31 03:48:57 2008
New Revision: 730377

URL: http://svn.apache.org/viewvc?rev=730377&view=rev
Log:
CAMEL-1199: Fixed failing unit test in camel-spring

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

Modified: 
activemq/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/throttler.xml
URL: 
http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/throttler.xml?rev=730377&r1=730376&r2=730377&view=diff
==============================================================================
--- 
activemq/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/throttler.xml
 (original)
+++ 
activemq/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/throttler.xml
 Wed Dec 31 03:48:57 2008
@@ -22,16 +22,24 @@
        http://activemq.apache.org/camel/schema/spring 
http://activemq.apache.org/camel/schema/spring/camel-spring.xsd
     ">
 
-  <!-- START SNIPPET: example -->
   <camelContext id="camel"
     xmlns="http://activemq.apache.org/camel/schema/spring";>
+    <!-- START SNIPPET: example -->
     <route>
       <from uri="seda:a" />
-      <throttle maximumRequestsPerPeriod="3" timePeriodMillis="30000">
+      <throttle maximumRequestsPerPeriod="3" timePeriodMillis="10000">
         <to uri="mock:result" />
       </throttle>
     </route>
+    <!-- END SNIPPET: example -->
+
+    <route>
+      <from uri="direct:a" />
+      <throttle maximumRequestsPerPeriod="3" timePeriodMillis="10000">
+        <to uri="mock:result" />
+      </throttle>
+    </route>
+
   </camelContext>
-  <!-- END SNIPPET: example -->
 
 </beans>


Reply via email to