vertx / io.vertx.reactivex.core / Vertx / deployVerticle

# deployVerticle

`open fun deployVerticle(name: String): Unit`

Deploy a verticle instance given a name.

Given the name, Vert.x selects a instance to use to instantiate the verticle.

For the rules on how factories are selected please consult the user manual.

### Parameters

`name` - the name.

`open fun deployVerticle(name: String, completionHandler: Handler<AsyncResult<String>>): Unit`

Like `io.vertx.reactivex.core.Vertx#deployVerticle` but the completionHandler will be notified when the deployment is complete.

If the deployment is successful the result will contain a String representing the unique deployment ID of the deployment.

This deployment ID can subsequently be used to undeploy the verticle.

### Parameters

`name` - The identifier

`completionHandler` - a handler which will be notified when the deployment is complete

`open fun deployVerticle(name: String, options: DeploymentOptions): Unit`

Like `io.vertx.reactivex.core.Vertx#deployVerticle` but io.vertx.core.DeploymentOptions are provided to configure the deployment.

### Parameters

`name` - the name

`options` - the deployment options.

`open fun deployVerticle(name: String, options: DeploymentOptions, completionHandler: Handler<AsyncResult<String>>): Unit`

Like `io.vertx.reactivex.core.Vertx#deployVerticle` but io.vertx.core.DeploymentOptions are provided to configure the deployment.

### Parameters

`name` - the name

`options` - the deployment options.

`completionHandler` - a handler which will be notified when the deployment is complete