From 3237af9e0e2e5768b0b2a784ab287c0afededd78 Mon Sep 17 00:00:00 2001 From: Martin Kouba Date: Tue, 21 Mar 2023 15:20:27 +0100 Subject: [PATCH] Fix HttpRootPathBuildItem.Builder.orderedRoute() - the order value is not used --- .../io/quarkus/vertx/http/deployment/HttpRootPathBuildItem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/vertx-http/deployment/src/main/java/io/quarkus/vertx/http/deployment/HttpRootPathBuildItem.java b/extensions/vertx-http/deployment/src/main/java/io/quarkus/vertx/http/deployment/HttpRootPathBuildItem.java index 98ef3b6f76e6b..451c50593da56 100644 --- a/extensions/vertx-http/deployment/src/main/java/io/quarkus/vertx/http/deployment/HttpRootPathBuildItem.java +++ b/extensions/vertx-http/deployment/src/main/java/io/quarkus/vertx/http/deployment/HttpRootPathBuildItem.java @@ -127,7 +127,7 @@ public Builder orderedRoute(String route, Integer order) { this.routerType = RouteType.ABSOLUTE_ROUTE; } - BasicRoute basicRoute = new BasicRoute(this.path, -1); + BasicRoute basicRoute = new BasicRoute(this.path, order); super.routeFunction = basicRoute; return this;