skip to Main Content

Vertx Web Resource Not Found – CentOS

In one of the projects that I'm working on I register routes onto the Router dynamically like below. vertx.eventBus().consumer("REGISTER_ROUTE", handler -> { JsonObject message = (JsonObject) handler.body(); HttpMethod method = HttpMethod.valueOf(message.getString("method")); router.route(method, message.getString("url")) .order(1) .handler(cxt -> cxt.json(new JsonObject().put("message", "This works..!!")));…

VIEW QUESTION
Back To Top
Search