This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 95f445b47237 CAMEL-24927: camel-spring-xml - Add the long period route
to the Spring sampling throttler test
95f445b47237 is described below
commit 95f445b47237b1f2284c4ec59bcb4d6cba911b80
Author: Claus Ibsen <[email protected]>
AuthorDate: Thu Sep 24 11:38:58 2026 +0200
CAMEL-24927: camel-spring-xml - Add the long period route to the Spring
sampling throttler test
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Signed-off-by: Claus Ibsen <[email protected]>
---
.../org/apache/camel/spring/processor/samplingThrottler.xml | 6 ++++++
1 file changed, 6 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..23d9e014a7a1 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,12 @@
<sample messageFrequency="5"/>
<to uri="mock:result"/>
</route>
+ <route>
+ <from uri="direct:sample-long-period"/>
+ <!-- 36500 days -->
+ <sample samplePeriod="3153600000000"/>
+ <to uri="mock:result"/>
+ </route>
<!-- END SNIPPET: e1 -->
</camelContext>