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-spring-boot.git


The following commit(s) were added to refs/heads/main by this push:
     new 1a82ff7cd70 Fix compile
1a82ff7cd70 is described below

commit 1a82ff7cd708658bb901c039daea5ffb550432d3
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Tue Feb 27 06:47:30 2024 +0100

    Fix compile
---
 .../apache/camel/component/master/springboot/MasterComponentTest.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/components-starter/camel-master-starter/src/test/java/org/apache/camel/component/master/springboot/MasterComponentTest.java
 
b/components-starter/camel-master-starter/src/test/java/org/apache/camel/component/master/springboot/MasterComponentTest.java
index 9f42f1d749c..34b1659d984 100644
--- 
a/components-starter/camel-master-starter/src/test/java/org/apache/camel/component/master/springboot/MasterComponentTest.java
+++ 
b/components-starter/camel-master-starter/src/test/java/org/apache/camel/component/master/springboot/MasterComponentTest.java
@@ -91,7 +91,7 @@ public class MasterComponentTest {
 
             DefaultCamelContext context = new DefaultCamelContext();
             context.disableJMX();
-            context.setName("context-" + id);
+            context.getCamelContextExtension().setName("context-" + id);
             context.addService(service);
             context.addRoutes(new RouteBuilder() {
                 @Override

Reply via email to