You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by gn...@apache.org on 2020/03/26 15:36:56 UTC

[camel-spring-boot] branch master updated: [CAMEL-14712] Fix lifecycle

This is an automated email from the ASF dual-hosted git repository.

gnodet pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git


The following commit(s) were added to refs/heads/master by this push:
     new 2c9f837  [CAMEL-14712] Fix lifecycle
2c9f837 is described below

commit 2c9f8373d39b6b0433ab5f51bfbf5bc478dbdb8e
Author: Guillaume Nodet <gn...@gmail.com>
AuthorDate: Thu Mar 26 16:36:34 2020 +0100

    [CAMEL-14712] Fix lifecycle
---
 .../main/java/org/apache/camel/spring/boot/CamelAutoConfiguration.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelAutoConfiguration.java b/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelAutoConfiguration.java
index 924d5d9..8e95e41 100644
--- a/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelAutoConfiguration.java
+++ b/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelAutoConfiguration.java
@@ -88,7 +88,7 @@ public class CamelAutoConfiguration {
                                                 CamelContext camelContext,
                                                 CamelConfigurationProperties config) throws Exception {
 
-        camelContext.init();
+        camelContext.build();
 
         // initialize properties component eager
         PropertiesComponent pc = applicationContext.getBeanProvider(PropertiesComponent.class).getIfAvailable();