verify if vertx is available in the middleware