THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
You use this EIP with the sample
DSL as show in these samples.
Using the Fluent Builders
below. These samples also show how you can use the different syntax to configure the sampling period:
SamplingThrottlerTest: e1
Wiki Markup |
---|
{snippet:id=e1|lang=java|url=camel/trunk/camel-core/src/test/java/org/apache/camel/processor/SamplingThrottlerTest.java} |
Using the Spring XML Extensions
And the same example in Spring XML is:
Wiki Markup |
---|
{snippet:id=e1|lang=xml|url=camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/samplingThrottler.xml |
...
} |
And since it uses a default of 1 second you can omit this configuration in case you also want to use 1 secondsamplingThrottlerWithDefault.xml e1
Wiki Markup |
---|
{snippet:id=e1|lang=xml|url=camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/processor/samplingThrottlerWithDefault.xml} |
Include Page | ||||
---|---|---|---|---|
|