You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by lb...@apache.org on 2020/03/12 08:50:27 UTC
[camel-k-runtime] 02/02: Amend amel-k-runtime-example-quarkus-yaml
to show how to configure quarkus through runtime properties
This is an automated email from the ASF dual-hosted git repository.
lburgazzoli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git
commit efb7df409d18e3b7275bb42ceb9d4dcfbb3f99bf
Author: lburgazzoli <lb...@gmail.com>
AuthorDate: Thu Mar 12 09:34:52 2020 +0100
Amend amel-k-runtime-example-quarkus-yaml to show how to configure quarkus through runtime properties
---
.../data/application.properties | 6 ++++++
examples/camel-k-runtime-example-quarkus-yaml/data/routes.yaml | 2 +-
examples/camel-k-runtime-example-quarkus-yaml/pom.xml | 7 ++++++-
3 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/examples/camel-k-runtime-example-quarkus-yaml/data/application.properties b/examples/camel-k-runtime-example-quarkus-yaml/data/application.properties
index 6fde22c..404ae13 100644
--- a/examples/camel-k-runtime-example-quarkus-yaml/data/application.properties
+++ b/examples/camel-k-runtime-example-quarkus-yaml/data/application.properties
@@ -16,6 +16,11 @@
## ---------------------------------------------------------------------------
#
+# Quarkus
+#
+quarkus.http.port = 9988
+
+#
# camel - main
#
camel.main.name = camel-q
@@ -26,3 +31,4 @@ camel.main.stream-caching-spool-directory = ${java.io.tmpdir}/camel-q
# Integration
#
message = test-app
+
diff --git a/examples/camel-k-runtime-example-quarkus-yaml/data/routes.yaml b/examples/camel-k-runtime-example-quarkus-yaml/data/routes.yaml
index 3549758..f634446 100644
--- a/examples/camel-k-runtime-example-quarkus-yaml/data/routes.yaml
+++ b/examples/camel-k-runtime-example-quarkus-yaml/data/routes.yaml
@@ -19,7 +19,7 @@
id: "flow-1"
group: "routes"
from:
- uri: "netty-http:localhost:8080"
+ uri: "platform-http://hello"
steps:
- convert-body:
type: "java.lang.String"
diff --git a/examples/camel-k-runtime-example-quarkus-yaml/pom.xml b/examples/camel-k-runtime-example-quarkus-yaml/pom.xml
index 8d61a41..a0a52b9 100644
--- a/examples/camel-k-runtime-example-quarkus-yaml/pom.xml
+++ b/examples/camel-k-runtime-example-quarkus-yaml/pom.xml
@@ -57,7 +57,7 @@
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
- <artifactId>camel-quarkus-netty-http</artifactId>
+ <artifactId>camel-quarkus-platform-http</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
@@ -83,6 +83,11 @@
<artifactId>quarkus-vertx-core</artifactId>
<version>${quarkus.version}</version>
</dependency>
+ <dependency>
+ <groupId>io.quarkus</groupId>
+ <artifactId>quarkus-vertx-http</artifactId>
+ <version>${quarkus.version}</version>
+ </dependency>
</dependencies>
<build>