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

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

commit 72cc1dd3e165c99c84623e08e2a94ef2e4fbca2a
Author: James Netherton <jamesnether...@gmail.com>
AuthorDate: Thu Jan 21 07:21:01 2021 +0000

    Fix routes-discovery.enabled property name
---
 examples/saga/Flight.java      | 2 +-
 pkg/builder/runtime/quarkus.go | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/saga/Flight.java b/examples/saga/Flight.java
index cfe8a8a..5aacbd9 100644
--- a/examples/saga/Flight.java
+++ b/examples/saga/Flight.java
@@ -37,7 +37,7 @@ public class Flight extends RouteBuilder {
                                .option("id", header("id"))
                                .compensation("direct:cancelPurchase")
                        .log("Buying flight #${header.id}")
-            .removeHeaders("CamelHttp.*")
+                       .removeHeaders("CamelHttp.*")
                        
.to("http://payment/api/pay?httpMethod=POST&type=flight";)
                        .log("Payment for flight #${header.id} done");
 
diff --git a/pkg/builder/runtime/quarkus.go b/pkg/builder/runtime/quarkus.go
index a98faba..53c1c22 100644
--- a/pkg/builder/runtime/quarkus.go
+++ b/pkg/builder/runtime/quarkus.go
@@ -83,7 +83,7 @@ func GenerateQuarkusProjectCommon(camelQuarkusVersion string, 
runtimeVersion str
        // this to happen as routes are loaded at runtime and looking for
        // routes at build time may try to load camel-k-runtime routes builder
        // proxies which in some case may fail
-       p.Properties["quarkus.camel.main.routes-discovery.enabled"] = "false"
+       p.Properties["quarkus.camel.routes-discovery.enabled"] = "false"
 
        // disable quarkus banner ...
        p.Properties["quarkus.banner.enabled"] = "false"

Reply via email to