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;