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 2025/09/24 05:53:46 UTC

(camel) branch main updated: camel-jbang: fix autowiring spring datasource

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 50c47b28206 camel-jbang: fix autowiring spring datasource
50c47b28206 is described below

commit 50c47b28206e0f34dc7feb4359d19bab31451d2a
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Wed Sep 24 07:53:36 2025 +0200

    camel-jbang: fix autowiring spring datasource
---
 .../src/main/resources/auto-configure/spring.datasource.url.java        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dsl/camel-kamelet-main/src/main/resources/auto-configure/spring.datasource.url.java b/dsl/camel-kamelet-main/src/main/resources/auto-configure/spring.datasource.url.java
index 2629262b273..b98773811e7 100644
--- a/dsl/camel-kamelet-main/src/main/resources/auto-configure/spring.datasource.url.java
+++ b/dsl/camel-kamelet-main/src/main/resources/auto-configure/spring.datasource.url.java
@@ -39,6 +39,6 @@ org.apache.camel.main.MainHelper.setPropertiesOnTarget(context, ds, hikari, "spr
 registry.bind(name, ds);
 
 // log summary to see what was configured
-org.apache.camel.main.MainHelper.logConfigurationSummary(null, set, "Auto-configuration Spring Datasource: " + name + " summary", null);
+org.apache.camel.main.MainHelper.logConfigurationSummary(context, null, set, "Auto-configuration Spring Datasource: " + name + " summary", null);
 
 return null;
\ No newline at end of file