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/08/28 17:57:57 UTC
[camel-spring-boot] branch master updated: CAMEL-15479: Clea up
docs to use camel-spring-boot-starter
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
The following commit(s) were added to refs/heads/master by this push:
new da246bd CAMEL-15479: Clea up docs to use camel-spring-boot-starter
da246bd is described below
commit da246bd654853b21f85b9d7101a163401f6b6244
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Fri Aug 28 19:57:42 2020 +0200
CAMEL-15479: Clea up docs to use camel-spring-boot-starter
---
docs/modules/ROOT/pages/spring-boot.adoc | 29 ++---------------------------
1 file changed, 2 insertions(+), 27 deletions(-)
diff --git a/docs/modules/ROOT/pages/spring-boot.adoc b/docs/modules/ROOT/pages/spring-boot.adoc
index 86fb065..263f085 100644
--- a/docs/modules/ROOT/pages/spring-boot.adoc
+++ b/docs/modules/ROOT/pages/spring-boot.adoc
@@ -1,8 +1,6 @@
[[SpringBoot-SpringBoot]]
= Spring Boot
-*Since Camel 2.15*
-
Spring Boot component provides auto-configuration for Apache Camel. Our
opinionated auto-configuration of the Camel context auto-detects Camel
routes available in the Spring context and registers the key Camel
@@ -16,38 +14,15 @@ in order to use this component:
----
<dependency>
<groupId>org.apache.camel.springboot</groupId>
- <artifactId>camel-spring-boot</artifactId>
+ <artifactId>camel-spring-boot-starter</artifactId>
<version>${camel.version}</version> <!-- use the same version as your Camel core version -->
</dependency>
----
-`camel-spring-boot` jar comes with the `spring.factories` file, so as
+`camel-spring-boot-starter` jar comes with the `spring.factories` file, so as
soon as you add that dependency into your classpath, Spring Boot will
automatically auto-configure Camel for you.
-[[SpringBoot-CamelSpringBootStarter]]
-== Camel Spring Boot Starter
-
-*Since Camel 2.17*
-
-Apache Camel ships
-a https://github.com/spring-projects/spring-boot/tree/master/spring-boot-project/spring-boot-starters[Spring
-Boot Starter] module that allows you to develop Spring Boot applications
-using starters. There is a
-https://github.com/apache/camel-spring-boot-examples/tree/master/camel-example-spring-boot[sample
-application] in the source code also.
-
-To use the starter, add the following to your spring boot pom.xml file:
-
-[source,xml]
-----
-<dependency>
- <groupId>org.apache.camel</groupId>
- <artifactId>camel-spring-boot-starter</artifactId>
- <version>${camel.version}</version> <!-- use the same version as your Camel core version -->
-</dependency>
-----
-
Then you can just add classes with your Camel routes such as:
[source,java]