vertx / io.vertx.kotlin.amqp / amqpSenderOptionsOf

# amqpSenderOptionsOf

`fun amqpSenderOptionsOf(autoDrained: Boolean? = null, capabilities: Iterable<String>? = null, capabilitys: Iterable<String>? = null, dynamic: Boolean? = null, linkName: String? = null): AmqpSenderOptions`

A function providing a DSL for building io.vertx.amqp.AmqpSenderOptions objects.

Configures the AMQP Sender.

### Parameters

`autoDrained` - Sets whether the link is automatically marked drained after the send queue drain handler callback returns if the receiving peer requested that credit be drained. true by default.

`capabilities` - Sets the list of capabilities to be set on the sender target terminus.

`capabilitys` - Adds a capability to be set on the sender target terminus.

`dynamic` - Sets whether the Target terminus to be used should specify it is 'dynamic', requesting the peer creates a node and names it with a generated address. The address provided by the peer can then be inspected using the io.vertx.amqp.AmqpSender method on the io.vertx.amqp.AmqpSender received once opened.

`linkName` -