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 2023/03/22 07:52:10 UTC
[camel] branch camel-3.x updated: CAMEL-19177: camel-platform-http - Spring Boot implementation that use directly the HTTP server
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch camel-3.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-3.x by this push:
new 6668cb0ad15 CAMEL-19177: camel-platform-http - Spring Boot implementation that use directly the HTTP server
6668cb0ad15 is described below
commit 6668cb0ad1577722f5fab411b89bf95d68151162
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Wed Mar 22 08:51:36 2023 +0100
CAMEL-19177: camel-platform-http - Spring Boot implementation that use directly the HTTP server
---
.../src/main/docs/platform-http-component.adoc | 26 +++++++++++++++-------
1 file changed, 18 insertions(+), 8 deletions(-)
diff --git a/components/camel-platform-http/src/main/docs/platform-http-component.adoc b/components/camel-platform-http/src/main/docs/platform-http-component.adoc
index a73fed9d7be..98fd56a3073 100644
--- a/components/camel-platform-http/src/main/docs/platform-http-component.adoc
+++ b/components/camel-platform-http/src/main/docs/platform-http-component.adoc
@@ -31,19 +31,29 @@ Maven users will need to add the following dependency to their `pom.xml` for thi
== Platform HTTP Provider
To use Platform HTTP a provider (engine) is required to be available on the classpath.
-The purpose is to have drivers for different runtimes such as Quarkus, VertX, or Spring Boot.
+The purpose is to have drivers for different runtimes such as Quarkus, or Spring Boot.
-At this moment there is only support for Quarkus and VertX by `camel-platform-http-vertx`.
-This JAR must be on the classpath otherwise the Platform HTTP component cannot be used and an
-exception will be thrown on startup.
+To use Quarkus:
[source,xml]
----
<dependency>
- <groupId>org.apache.camel</groupId>
- <artifactId>camel-platform-http-vertx</artifactId>
+ <groupId>org.apache.camel.quarkus</groupId>
+ <artifactId>camel-quarkus-platform-http</artifactId>
<version>x.x.x</version>
- <!-- use the same version as your Camel core version -->
+ <!-- use the same version as your Camel Quarkus version -->
+</dependency>
+----
+
+And for Spring Boot:
+
+[source,xml]
+----
+<dependency>
+ <groupId>org.apache.camel.springboot</groupId>
+ <artifactId>camel-platform-http-starter</artifactId>
+ <version>x.x.x</version>
+ <!-- use the same version as your Camel version -->
</dependency>
----
@@ -66,4 +76,4 @@ include::spring-boot:partial$starter.adoc[]
Platform HTTP component can act as a reverse proxy, in that case some headers are populated from the absolute URL received on the request line of the HTTP request. Those headers are specific to the underlining platform.
-At this moment, this feature is only supported for Vert.x in `camel-platform-http-vertx` component.
\ No newline at end of file
+At this moment, this feature is only supported for Quarkus implemented in `camel-platform-http-vertx` component.