You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2023/05/29 13:22:57 UTC

[camel] branch main updated: Adjust to camel v4

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 60b6cdc92c1 Adjust to camel v4
60b6cdc92c1 is described below

commit 60b6cdc92c1c11b120b7233f01a7f6e8a916b059
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Mon May 29 15:22:45 2023 +0200

    Adjust to camel v4
---
 .../src/main/resources/auto-configure/camel-micrometer.joor             | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dsl/camel-kamelet-main/src/main/resources/auto-configure/camel-micrometer.joor b/dsl/camel-kamelet-main/src/main/resources/auto-configure/camel-micrometer.joor
index 5df2b7438b4..99df4cf0441 100644
--- a/dsl/camel-kamelet-main/src/main/resources/auto-configure/camel-micrometer.joor
+++ b/dsl/camel-kamelet-main/src/main/resources/auto-configure/camel-micrometer.joor
@@ -27,7 +27,7 @@ if (mr == null) {
     rpf.setMeterRegistry(mr);
     context.addRoutePolicyFactory(rpf);
     // and setup dev console
-    var dcr = context.getExtension(org.apache.camel.console.DevConsoleRegistry.class);
+    var dcr = context.getCamelContextExtension().getContextPlugin(org.apache.camel.console.DevConsoleRegistry.class);
     if (dcr != null) {
         dcr.register(new org.apache.camel.component.micrometer.MicrometerConsole());
     }