This is an automated email from the ASF dual-hosted git repository.

Croway pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit e3fb7140709c165e8974956a364626e137514fde
Author: Croway <[email protected]>
AuthorDate: Mon May 4 17:34:13 2026 +0200

    chore: remove broken Spring XML sample-placeholder test
    
    The testSamplingWithPropertyPlaceholder override and its XML route
    were added for CAMEL-23279 but never actually worked: the override
    drops @Test so JUnit never discovers it, and the XML route references
    {{sample.period}} without providing the property. The parent Java DSL
    test already covers the JIRA fix.
---
 .../apache/camel/spring/processor/SpringSamplingThrottlerTest.java   | 5 -----
 .../org/apache/camel/spring/processor/samplingThrottler.xml          | 5 -----
 2 files changed, 10 deletions(-)

diff --git 
a/components/camel-spring-parent/camel-spring-xml/src/test/java/org/apache/camel/spring/processor/SpringSamplingThrottlerTest.java
 
b/components/camel-spring-parent/camel-spring-xml/src/test/java/org/apache/camel/spring/processor/SpringSamplingThrottlerTest.java
index 2489034351be..1f3cc6f3e2ba 100644
--- 
a/components/camel-spring-parent/camel-spring-xml/src/test/java/org/apache/camel/spring/processor/SpringSamplingThrottlerTest.java
+++ 
b/components/camel-spring-parent/camel-spring-xml/src/test/java/org/apache/camel/spring/processor/SpringSamplingThrottlerTest.java
@@ -47,11 +47,6 @@ public class SpringSamplingThrottlerTest extends 
SamplingThrottlerTest {
         super.testSendLotsOfMessagesSimultaneouslyButOnly3GetThrough();
     }
 
-    @Override
-    public void testSamplingWithPropertyPlaceholder() throws Exception {
-        super.testSamplingWithPropertyPlaceholder();
-    }
-
     @Override
     public void testSamplingUsingMessageFrequency() throws Exception {
         super.testSamplingUsingMessageFrequency();
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 db34a38dd3b1..29d09c89614e 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,11 +41,6 @@
             <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>

Reply via email to