Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CAMEL-10222: Added docs and examples and added a small fix to integra…
…tion tests
- Loading branch information
1 parent
a0cacd9
commit 1e16019
Showing
6 changed files
with
91 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
= Camel Component Starters | ||
|
||
Starters are Apache Camel modules intended to be used in Spring Boot applications. | ||
There is a `camel-xxx-starter` module for each Camel component (with few exceptions listed below). | ||
|
||
Starters are created to meet the following requirements: | ||
|
||
* Allow the auto-configuration of the component through the native spring-boot configuration system (compatible with IDE tooling) | ||
* Manage transitive logging dependencies to better integrate with spring-boot logging system | ||
* Include additional dependencies and align transitive ones to minimize the effort of creating a working spring-boot application | ||
Each starter has its own integration test (in path `tests/camel-itest-spring-boot`) that verifies its compatibility with the current release of spring-boot. | ||
|
||
The following components do not have a starter because of compatibility issues: | ||
|
||
* **camel-blueprint** | ||
* **camel-cdi** | ||
* **camel-core-osgi** | ||
* **camel-ejb** | ||
* **camel-eventadmin** | ||
* **camel-ibatis** (`camel-mybatis-starter` is included) | ||
* **camel-jclouds** | ||
* **camel-mina** (`camel-mina2-starter` is included) | ||
* **camel-paxlogging** | ||
* **camel-quartz** (`camel-quartz2-starter` is included) | ||
* **camel-spark-rest** | ||
* **camel-swagger** (`camel-swagger-java-starter` is included) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
= Camel Spring-Boot Dependency Management | ||
|
||
The `spring-boot-dm` module include tools to generate a valid spring-boot BOM (bill of materials) | ||
that can be used in spring-boot applications. | ||
|
||
Using the generated BOM (`camel-spring-boot-dependencies`), together with the Spring framework's `spring-boot-dependencies`, | ||
is the preferred way of configuring a Camel-based application running on Spring-Boot. | ||
|
||
The POM of a end user application should include both BOMs, as in the following example: | ||
|
||
[source,xml] | ||
.pom.xml | ||
---- | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project> | ||
... | ||
<dependencyManagement> | ||
<dependencies> | ||
<dependency> | ||
<groupId>org.springframework.boot</groupId> | ||
<artifactId>spring-boot-dependencies</artifactId> | ||
<version>${spring-boot-version}</version> | ||
<type>pom</type> | ||
<scope>import</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.apache.camel</groupId> | ||
<artifactId>camel-spring-boot-dependencies</artifactId> | ||
<version>${project.version}</version> | ||
<type>pom</type> | ||
<scope>import</scope> | ||
</dependency> | ||
</dependencies> | ||
</dependencyManagement> | ||
<dependencies> | ||
<!-- Include all needed camel-xxx-starter modules --> | ||
</dependencies> | ||
... | ||
</project> | ||
---- | ||
|
||
The `camel-spring-boot-dependencies` BOM includes Camel modules | ||
and all transitive dependencies that have no conflicts with the spring-boot BOM. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters