vertx / io.vertx.kotlin.core.eventbus / DeliveryOptions

DeliveryOptions

fun DeliveryOptions(codecName: String? = null, headers: Map<String, String>? = null, localOnly: Boolean? = null, sendTimeout: Long? = null): DeliveryOptions

A function providing a DSL for building io.vertx.core.eventbus.DeliveryOptions objects.

Delivery options are used to configure message delivery.

Parameters

codecName - Set the codec name.

headers - Add a message header. Message headers can be sent with any message and will be accessible with io.vertx.core.eventbus.Message at the recipient.

localOnly - Whether a message should be delivered to local consumers only. Defaults to false. This option is effective in clustered mode only and does not apply to reply messages.

sendTimeout - Set the send timeout.