vertx / io.vertx.kotlin.amqpbridge / io.vertx.amqpbridge.AmqpBridge / startAwait

startAwait

suspend fun AmqpBridge.startAwait(hostname: String, port: Int, username: String, password: String): AmqpBridge

Starts the bridge, establishing the underlying connection.

Parameters

hostname - the host name to connect to

port - the port to connect to

username - the username

password - the password

resultHandler - the result handler

suspend fun AmqpBridge.startAwait(hostname: String, port: Int): AmqpBridge

Starts the bridge, establishing the underlying connection.

Parameters

hostname - the host name to connect to

port - the port to connect to

resultHandler - the result handler