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 2011/04/16 14:22:59 UTC
svn commit: r1093976 -
/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/throttler.xml
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>