Repository: camel
Updated Branches:
  refs/heads/master 3cdf9221a -> 59a3f6bdb


Update RoutesCollector.java


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/ea12ee7f
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/ea12ee7f
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/ea12ee7f

Branch: refs/heads/master
Commit: ea12ee7fc04391e842b5c1ac39404d930164adff
Parents: c94dbbb
Author: awgtek <ada...@hotmail.com>
Authored: Mon Nov 16 23:08:07 2015 -0500
Committer: Claus Ibsen <davscl...@apache.org>
Committed: Fri Nov 27 08:16:16 2015 +0100

----------------------------------------------------------------------
 .../java/org/apache/camel/spring/boot/RoutesCollector.java    | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/ea12ee7f/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/RoutesCollector.java
----------------------------------------------------------------------
diff --git 
a/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/RoutesCollector.java
 
b/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/RoutesCollector.java
index c13e214..af2f625 100644
--- 
a/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/RoutesCollector.java
+++ 
b/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/RoutesCollector.java
@@ -83,6 +83,11 @@ public class RoutesCollector implements 
ApplicationListener<ContextRefreshedEven
                     }
 
                     camelContext.start();
+                    
+                    for (CamelContextConfiguration camelContextConfiguration : 
camelContextConfigurations) {
+                        
camelContextConfiguration.afterApplicationStart(camelContext);
+                    }
+                    
                 } catch (Exception e) {
                     throw new CamelSpringBootInitializationException(e);
                 }
@@ -109,4 +114,4 @@ public class RoutesCollector implements 
ApplicationListener<ContextRefreshedEven
         }
     }
 
-}
\ No newline at end of file
+}

Reply via email to