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
commit 1930442a728e901e9e513a83c48a51ad0e5fd6f9 Author: Claus Ibsen <[email protected]> AuthorDate: Sun Feb 18 09:53:54 2024 +0100 CAMEL-20361: camel-jbang - Auto download jolokia plugin if in use. --- .../camel/component/platform/http/PlatformHttpPluginRegistry.java | 2 +- .../src/main/resources/camel-main-known-dependencies.properties | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/components/camel-platform-http/src/main/java/org/apache/camel/component/platform/http/PlatformHttpPluginRegistry.java b/components/camel-platform-http/src/main/java/org/apache/camel/component/platform/http/PlatformHttpPluginRegistry.java index 91f2a470632..4493687af9c 100644 --- a/components/camel-platform-http/src/main/java/org/apache/camel/component/platform/http/PlatformHttpPluginRegistry.java +++ b/components/camel-platform-http/src/main/java/org/apache/camel/component/platform/http/PlatformHttpPluginRegistry.java @@ -96,7 +96,7 @@ public class PlatformHttpPluginRegistry extends ServiceSupport PlatformHttpPlugin answer = null; FactoryFinder factoryFinder - = getCamelContext().getCamelContextExtension().getFactoryFinder(PLATFORM_HTTP_PLUGIN_FACTORY_PATH); + = getCamelContext().getCamelContextExtension().getBootstrapFactoryFinder(PLATFORM_HTTP_PLUGIN_FACTORY_PATH); Class<?> type = factoryFinder.findOptionalClass(id).orElse(null); if (type != null) { if (PlatformHttpPlugin.class.isAssignableFrom(type)) { diff --git a/dsl/camel-kamelet-main/src/main/resources/camel-main-known-dependencies.properties b/dsl/camel-kamelet-main/src/main/resources/camel-main-known-dependencies.properties index f11f5cd3bc6..09724f0267a 100644 --- a/dsl/camel-kamelet-main/src/main/resources/camel-main-known-dependencies.properties +++ b/dsl/camel-kamelet-main/src/main/resources/camel-main-known-dependencies.properties @@ -32,3 +32,4 @@ META-INF/services/org/apache/camel/modelxml-dumper = camel:xml-io META-INF/services/org/apache/camel/modelyaml-dumper = camel:yaml-io META-INF/services/org/apache/camel/micrometer-prometheus = camel:micrometer-prometheus META-INF/services/org/apache/camel/cron/cron-service = camel:quartz +META-INF/services/org/apache/camel/platform-http/jolokia = camel:camel-platform-http-jolokia
