vertx / io.vertx.kotlin.amqp / io.vertx.amqp.AmqpConnection / createReceiverAwait

createReceiverAwait

suspend fun AmqpConnection.createReceiverAwait(address: String): AmqpReceiver

Suspending version of method io.vertx.amqp.AmqpConnection.createReceiver

Parameters

address - The source address to attach the consumer to, must not be null

Return

AmqpReceiver

NOTE: This function has been automatically generated from io.vertx.amqp.AmqpConnection using Vert.x codegen.

suspend fun AmqpConnection.createReceiverAwait(address: String, messageHandler: (AmqpMessage) -> Unit): AmqpReceiver

Suspending version of method io.vertx.amqp.AmqpConnection.createReceiver

Parameters

address - The source address to attach the consumer to, must not be null

messageHandler - The message handler, must not be null

Return

AmqpReceiver

NOTE: This function has been automatically generated from io.vertx.amqp.AmqpConnection using Vert.x codegen.

suspend fun AmqpConnection.createReceiverAwait(address: String, receiverOptions: AmqpReceiverOptions, messageHandler: (AmqpMessage) -> Unit): AmqpReceiver

Suspending version of method io.vertx.amqp.AmqpConnection.createReceiver

Parameters

address - The source address to attach the consumer to.

receiverOptions - The options for this receiver.

messageHandler - The message handler, must not be null

Return

AmqpReceiver

NOTE: This function has been automatically generated from io.vertx.amqp.AmqpConnection using Vert.x codegen.

suspend fun AmqpConnection.createReceiverAwait(address: String, receiverOptions: AmqpReceiverOptions): AmqpReceiver

Suspending version of method io.vertx.amqp.AmqpConnection.createReceiver

Parameters

address - The source address to attach the consumer to.

receiverOptions - The options for this receiver.

Return

AmqpReceiver

NOTE: This function has been automatically generated from io.vertx.amqp.AmqpConnection using Vert.x codegen.