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 0c13dff431f CAMEL-20735: camel-jbang - Add support for spring-boot datasource 0c13dff431f is described below commit 0c13dff431f807593beab748c4051178cfa20f0d Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Sat May 4 13:27:18 2024 +0200 CAMEL-20735: camel-jbang - Add support for spring-boot datasource --- .../src/main/resources/auto-configure/spring.datasource.url.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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 b4cfd8fee19..2629262b273 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 @@ -15,9 +15,7 @@ * limitations under the License. */ -var answer = ""; var registry = context.getRegistry(); -answer = "Auto-configuring spring-datasource"; var p = new org.springframework.boot.autoconfigure.jdbc.DataSourceProperties(); p.setBeanClassLoader(context.getApplicationContextClassLoader()); @@ -41,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, "Spring DataSource (" + name + ")", null); +org.apache.camel.main.MainHelper.logConfigurationSummary(null, set, "Auto-configuration Spring Datasource: " + name + " summary", null); -return answer; \ No newline at end of file +return null; \ No newline at end of file