make sure the router middleware shares the vertx object with its routes