Repository: camel
Updated Branches:
  refs/heads/master d53e4000a -> ac54279f2


[Spring Boot] Refactoring.


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

Branch: refs/heads/master
Commit: ac54279f2e39c5cbcb8ba65f03fb2a804977cf02
Parents: d53e400
Author: Henryk Konsek <[email protected]>
Authored: Fri Jan 2 16:35:27 2015 +0100
Committer: Henryk Konsek <[email protected]>
Committed: Fri Jan 2 16:35:27 2015 +0100

----------------------------------------------------------------------
 .../spring/boot/CamelAutoConfiguration.java     | 71 --------------------
 1 file changed, 71 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/ac54279f/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 3eb5f72..9b762d6 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
@@ -29,77 +29,6 @@ import org.springframework.context.annotation.Bean;
 import org.springframework.context.annotation.Configuration;
 import org.springframework.context.annotation.Import;
 
-/**
- * <p>
- * Opinionated auto-configuration of the Camel context. Auto-detects Camel 
routes available in the Spring context and
- * exposes the key Camel utilities (like producer template, consumer template 
and type converter).
- * </p>
- * <p>
- * The most important piece of functionality provided by the Camel starter is 
{@code CamelContext} instance. Camel starter
- * will create {@code SpringCamelContext} for your and take care of the proper 
initialization and shutdown of that context. Created
- * Camel context is also registered in the Spring application context (under 
{@code camelContext} name), so you can access it just
- * as the any other Spring bean.
- *
- * <pre>
- * {@literal @}Configuration
- * public class MyAppConfig {
- *
- *   {@literal @}Autowired
- *   CamelContext camelContext;
- *
- *   {@literal @}Bean
- *   MyService myService() {
- *     return new DefaultMyService(camelContext);
- *   }
- *
- * }
- * </pre>
- *
- * </p>
- * <p>
- * Camel starter collects all the `RoutesBuilder` instances from the Spring 
context and automatically injects
- * them into the provided {@code CamelContext}. It means that creating new 
Camel route with the Spring Boot starter is as simple as
- * adding the {@code @Component} annotated class into your classpath:
- * </p>
- *
- * <p>
- * <pre>
- * {@literal @}Component
- * public class MyRouter extends RouteBuilder {
- *
- *  {@literal @}Override
- *    public void configure() throws Exception {
- *     from("jms:invoices").to("file:/invoices");
- *   }
- *
- * }
- * </pre>
- * </p>
- *
- * <p>
- * Or creating new route {@code RoutesBuilder} in your {@code @Configuration} 
class:
- * </p>
- * <p>
- * <pre>
- * {@literal @}Configuration
- * public class MyRouterConfiguration {
- *
- *   {@literal @}Bean
- *   RoutesBuilder myRouter() {
- *     return new RouteBuilder() {
- *
- *       {@literal @}Override
- *       public void configure() throws Exception {
- *         from("jms:invoices").to("file:/invoices");
- *       }
- *
- *     };
- *   }
- *
- * }
- * </pre>
- * </p>
- */
 @Configuration
 @EnableConfigurationProperties(CamelConfigurationProperties.class)
 @Import(SpringConversionServiceConfiguration.class)

Reply via email to