You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by fm...@apache.org on 2026/05/04 13:31:46 UTC
(camel) 01/01: CAMEL-23279: add missing sample-placeholder route to Spring XML test config
This is an automated email from the ASF dual-hosted git repository.
Croway pushed a commit to branch fix/sampling-throttler-spring-xml-4.18.x
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 59beba9314c5f1ebb629db4581f7365ace27c7f6
Author: Croway <fe...@gmail.com>
AuthorDate: Mon May 4 15:31:25 2026 +0200
CAMEL-23279: add missing sample-placeholder route to Spring XML test config
---
.../org/apache/camel/spring/processor/samplingThrottler.xml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/components/camel-spring-parent/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/samplingThrottler.xml b/components/camel-spring-parent/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/samplingThrottler.xml
index 29d09c89614e..db34a38dd3b1 100644
--- a/components/camel-spring-parent/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/samplingThrottler.xml
+++ b/components/camel-spring-parent/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/samplingThrottler.xml
@@ -41,6 +41,11 @@
<sample messageFrequency="5"/>
<to uri="mock:result"/>
</route>
+ <route>
+ <from uri="direct:sample-placeholder"/>
+ <sample samplePeriod="{{sample.period}}"/>
+ <to uri="mock:result"/>
+ </route>
<!-- END SNIPPET: e1 -->
</camelContext>