camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hekon...@apache.org
Subject git commit: [CAMEL-7963] Refactoring.
Date Mon, 27 Oct 2014 19:55:03 GMT
Repository: camel
Updated Branches:
  refs/heads/master c2c7d66da -> ca571f8e6


[CAMEL-7963] Refactoring.


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

Branch: refs/heads/master
Commit: ca571f8e677d7dc5f244b4046951a9c49e9d5528
Parents: c2c7d66
Author: Henryk Konsek <hekonsek@gmail.com>
Authored: Mon Oct 27 20:54:55 2014 +0100
Committer: Henryk Konsek <hekonsek@gmail.com>
Committed: Mon Oct 27 20:54:55 2014 +0100

----------------------------------------------------------------------
 .../java/org/apache/camel/spring/boot/CamelAutoConfiguration.java  | 2 +-
 .../org/apache/camel/spring/boot/CamelContextConfiguration.java    | 2 +-
 .../org/apache/camel/spring/boot/CamelAutoConfigurationTest.java   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/ca571f8e/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelAutoConfiguration.java
b/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelAutoConfiguration.java
index 2c56a65..14c1428 100644
--- a/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelAutoConfiguration.java
+++ b/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelAutoConfiguration.java
@@ -136,7 +136,7 @@ public class CamelAutoConfiguration {
         }
 
         if (camelContextConfiguration != null) {
-            camelContextConfiguration.postConfiguration(camelContext);
+            camelContextConfiguration.beforeStart(camelContext);
         }
 
         return camelContext;

http://git-wip-us.apache.org/repos/asf/camel/blob/ca571f8e/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelContextConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelContextConfiguration.java
b/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelContextConfiguration.java
index bec420e..ebdf4aa 100644
--- a/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelContextConfiguration.java
+++ b/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelContextConfiguration.java
@@ -20,6 +20,6 @@ import org.apache.camel.CamelContext;
 
 public interface CamelContextConfiguration {
 
-    void postConfiguration(CamelContext camelContext);
+    void beforeStart(CamelContext camelContext);
 
 }

http://git-wip-us.apache.org/repos/asf/camel/blob/ca571f8e/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/CamelAutoConfigurationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/CamelAutoConfigurationTest.java
b/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/CamelAutoConfigurationTest.java
index 8efd6f6..2b0d8dd 100644
--- a/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/CamelAutoConfigurationTest.java
+++ b/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/CamelAutoConfigurationTest.java
@@ -138,7 +138,7 @@ public class CamelAutoConfigurationTest extends Assert {
 
     @Test
     public void shouldCallCamelContextConfiguration() {
-        verify(camelContextConfiguration).postConfiguration(camelContext);
+        verify(camelContextConfiguration).beforeStart(camelContext);
     }
 
 }


Mime
View raw message