camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r1093976 - /camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/throttler.xml
Date Sat, 16 Apr 2011 12:22:59 GMT
Author: davsclaus
Date: Sat Apr 16 12:22:59 2011
New Revision: 1093976

URL: http://svn.apache.org/viewvc?rev=1093976&view=rev
Log:
Added wiki example for docu

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

Modified: camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/throttler.xml
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/throttler.xml?rev=1093976&r1=1093975&r2=1093976&view=diff
==============================================================================
--- camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/throttler.xml
(original)
+++ camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/throttler.xml
Sat Apr 16 12:22:59 2011
@@ -52,13 +52,16 @@
             </throttle>
         </route>
 
+        <!-- START SNIPPET: e2 -->
         <route>
             <from uri="direct:expressionHeader"/>
             <throttle timePeriodMillis="500">
+                <!-- use a header to determine how many messages to throttle per 0.5 sec
-->
                 <header>throttleValue</header>
                 <to uri="mock:result"/>
             </throttle>
         </route>
+        <!-- END SNIPPET: e2 -->
 
     </camelContext>
 



Mime
View raw message