You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/03/20 09:58:17 UTC

[camel] branch master updated (a37b3f5 -> be56dcd)

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git.


    from a37b3f5  Upgrade Mongo Java Driver to version 4.0.1
     new d3b9b5a  CAMEL-14738 - Fixed docs, it's not src/main/doc it's src/main/docs
     new 4adbdb2  CAMEL-14738 - Regen docs
     new be56dcd  CAMEL-14738 - Added pages for website after regen

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../resources/META-INF/services/org/apache/camel/other.properties       | 2 +-
 .../src/generated/resources/platform-http-vertx.json                    | 2 +-
 .../src/main/{doc => docs}/platform-http-vertx.adoc                     | 0
 docs/components/modules/ROOT/nav.adoc                                   | 1 +
 docs/components/modules/ROOT/pages/index.adoc                           | 2 +-
 .../doc => docs/components/modules/ROOT/pages}/platform-http-vertx.adoc | 1 +
 6 files changed, 5 insertions(+), 3 deletions(-)
 copy components/camel-platform-http-vertx/src/main/{doc => docs}/platform-http-vertx.adoc (100%)
 rename {components/camel-platform-http-vertx/src/main/doc => docs/components/modules/ROOT/pages}/platform-http-vertx.adoc (93%)


[camel] 01/03: CAMEL-14738 - Fixed docs, it's not src/main/doc it's src/main/docs

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit d3b9b5ab05dce2210c989b4ecaace56775e6493d
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Mar 20 10:56:06 2020 +0100

    CAMEL-14738 - Fixed docs, it's not src/main/doc it's src/main/docs
---
 .../resources/META-INF/services/org/apache/camel/other.properties       | 2 +-
 .../src/generated/resources/platform-http-vertx.json                    | 2 +-
 .../src/main/{doc => docs}/platform-http-vertx.adoc                     | 0
 docs/components/modules/ROOT/pages/index.adoc                           | 2 +-
 4 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/components/camel-platform-http-vertx/src/generated/resources/META-INF/services/org/apache/camel/other.properties b/components/camel-platform-http-vertx/src/generated/resources/META-INF/services/org/apache/camel/other.properties
index b5250a6..ed7e0e8 100644
--- a/components/camel-platform-http-vertx/src/generated/resources/META-INF/services/org/apache/camel/other.properties
+++ b/components/camel-platform-http-vertx/src/generated/resources/META-INF/services/org/apache/camel/other.properties
@@ -4,4 +4,4 @@ groupId=org.apache.camel
 artifactId=camel-platform-http-vertx
 version=3.2.0-SNAPSHOT
 projectName=Camel :: Platform HTTP :: Vert.x
-projectDescription=Implementation of the Platform Http Engine based on Vert.x Web
+projectDescription=Implementation of the Platform HTTP Engine based on Vert.x Web
diff --git a/components/camel-platform-http-vertx/src/generated/resources/platform-http-vertx.json b/components/camel-platform-http-vertx/src/generated/resources/platform-http-vertx.json
index cd7135c..b77b11d 100644
--- a/components/camel-platform-http-vertx/src/generated/resources/platform-http-vertx.json
+++ b/components/camel-platform-http-vertx/src/generated/resources/platform-http-vertx.json
@@ -3,7 +3,7 @@
     "kind": "other",
     "name": "platform-http-vertx",
     "title": "Platform Http Vertx",
-    "description": "Implementation of the Platform Http Engine based on Vert.x Web",
+    "description": "Implementation of the Platform HTTP Engine based on Vert.x Web",
     "deprecated": false,
     "groupId": "org.apache.camel",
     "artifactId": "camel-platform-http-vertx",
diff --git a/components/camel-platform-http-vertx/src/main/doc/platform-http-vertx.adoc b/components/camel-platform-http-vertx/src/main/docs/platform-http-vertx.adoc
similarity index 100%
rename from components/camel-platform-http-vertx/src/main/doc/platform-http-vertx.adoc
rename to components/camel-platform-http-vertx/src/main/docs/platform-http-vertx.adoc
diff --git a/docs/components/modules/ROOT/pages/index.adoc b/docs/components/modules/ROOT/pages/index.adoc
index 32acb52..7ca728a 100644
--- a/docs/components/modules/ROOT/pages/index.adoc
+++ b/docs/components/modules/ROOT/pages/index.adoc
@@ -868,7 +868,7 @@ Number of Miscellaneous Components: 37 in 37 JAR artifacts (0 deprecated)
 
 | xref:osgi-activator.adoc[Osgi Activator] (camel-osgi-activator) | 3.1 | Camel OSGi Activator for running Camel routes from other bundles
 
-| xref:platform-http-vertx.adoc[Platform Http Vertx] (camel-platform-http-vertx) |  | Implementation of the Platform Http Engine based on Vert.x Web
+| xref:platform-http-vertx.adoc[Platform Http Vertx] (camel-platform-http-vertx) |  | Implementation of the Platform HTTP Engine based on Vert.x Web
 
 | xref:reactive-executor-vertx.adoc[Reactive Executor Vert.x] (camel-reactive-executor-vertx) | 3.0 | Reactive Executor for camel-core using Vert.x
 


[camel] 02/03: CAMEL-14738 - Regen docs

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 4adbdb205fdff76f31964b0a61d7f0e76a8c89bf
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Mar 20 10:57:19 2020 +0100

    CAMEL-14738 - Regen docs
---
 docs/components/modules/ROOT/nav.adoc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/docs/components/modules/ROOT/nav.adoc b/docs/components/modules/ROOT/nav.adoc
index 612564f..c321cfd 100644
--- a/docs/components/modules/ROOT/nav.adoc
+++ b/docs/components/modules/ROOT/nav.adoc
@@ -271,6 +271,7 @@
 ** xref:pg-replication-slot-component.adoc[PostgresSQL Replication Slot Component]
 ** xref:pgevent-component.adoc[PostgresSQL Event Component]
 ** xref:platform-http-component.adoc[Platform HTTP Component]
+** xref:platform-http-vertx.adoc[PlatformHttp VertX]
 ** xref:properties-component.adoc[Properties Component]
 ** xref:pubnub-component.adoc[PubNub Component]
 ** xref:pulsar-component.adoc[Pulsar Component]


[camel] 03/03: CAMEL-14738 - Added pages for website after regen

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit be56dcd5adb960ae46f8b8ce7b7180afeb0f251f
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Mar 20 10:57:41 2020 +0100

    CAMEL-14738 - Added pages for website after regen
---
 .../modules/ROOT/pages/platform-http-vertx.adoc    | 46 ++++++++++++++++++++++
 1 file changed, 46 insertions(+)

diff --git a/docs/components/modules/ROOT/pages/platform-http-vertx.adoc b/docs/components/modules/ROOT/pages/platform-http-vertx.adoc
new file mode 100644
index 0000000..53aa1c1
--- /dev/null
+++ b/docs/components/modules/ROOT/pages/platform-http-vertx.adoc
@@ -0,0 +1,46 @@
+= PlatformHttp VertX
+:page-source: components/camel-platform-http-vertx/src/main/docs/platform-http-vertx.adoc
+
+*Since Camel 3.2*
+
+The camel-platform-http-vertx is a Vert.x based implementation of the `PlatformHttp` SPI.
+
+[NOTE]
+====
+At this time this component is an experiment so use it with care.
+====
+
+== Vert.x Route
+This implementation will by default lookup an instance of `VertxPlatformHttpRouter` on the registry however you can
+configure an existing instance using the getter/setter on the `VertxPlatformHttpEngine` class.
+
+== Auto detection from classpath
+
+To use this implementation all you need to do is to add the `camel-platform-http-vertx` dependency to the classpath,
+and the platform http component should auto-detect this.
+
+== VertxPlatformHttpServer
+
+In addition to the implementation of the `PlatformHttp` SPI based on Vert.x, this module provides a Vert.x based HTTP
+server compatible with the `VertxPlatformHttpEngine`:
+
+[source,java]
+----
+final int port = AvailablePortFinder.getNextAvailable();
+final CamelContext context = new DefaultCamelContext();
+
+VertxPlatformHttpServerConfiguration conf = new VertxPlatformHttpServerConfiguration();
+conf.setBindPort(port);
+
+context.addService(new VertxPlatformHttpServer(context, conf), true, true);
+context.addRoutes(new RouteBuilder() {
+    @Override
+    public void configure() throws Exception {
+        from("platform-http:/test")
+            .routeId("get")
+            .setBody().constant("Hello from Camel's PlatformHttp service");
+    }
+});
+
+context.start();
+----
\ No newline at end of file