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 2020/03/02 08:15:46 UTC
[camel-spring-boot] 01/02: CAMEL-14641: camel-spring-boot - Using
main controller should not double initialize from properties
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git
commit deb2efc934a70aa6baf82edb92905dcbcad4c7e6
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Mon Mar 2 08:37:44 2020 +0100
CAMEL-14641: camel-spring-boot - Using main controller should not double initialize from properties
---
.../camel/spring/boot/CamelSpringBootApplicationController.java | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelSpringBootApplicationController.java b/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelSpringBootApplicationController.java
index eb18109..eacf037 100644
--- a/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelSpringBootApplicationController.java
+++ b/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelSpringBootApplicationController.java
@@ -52,6 +52,11 @@ public class CamelSpringBootApplicationController {
}
@Override
+ protected void postProcessCamelContext(CamelContext camelContext) throws Exception {
+ // spring boot has configured camel context and no post processing is needed
+ }
+
+ @Override
protected void doStop() throws Exception {
LOG.debug("Controller is shutting down CamelContext");
try {