vertx / io.vertx.reactivex.core / RxHelper / deployVerticle

deployVerticle

open static fun deployVerticle(vertx: Vertx, verticle: Verticle): Single<String>

Deploy a verticle you have created yourself, using an RxJava vertx instance.

Parameters

vertx - the vertx instance

verticle - the verticle instance to deploy

Return
the response observable

open static fun deployVerticle(vertx: Vertx, verticle: Verticle, options: DeploymentOptions): Single<String>

Like #deployVerticle(Vertx, Verticle), but DeploymentOptions are provided to configure the deployment.

Parameters

vertx - the vertx instance

verticle - the verticle instance to deploy

options - the deployment options.

Return
the response observable