fun amqpReceiverOptionsOf(autoAcknowledgement: Boolean? = null, capabilities: Iterable<String>? = null, capabilitys: Iterable<String>? = null, durable: Boolean? = null, dynamic: Boolean? = null, linkName: String? = null, maxBufferedMessages: Int? = null, qos: String? = null): AmqpReceiverOptions
A function providing a DSL for building io.vertx.amqp.AmqpReceiverOptions objects.
Configures the AMQP Receiver.
autoAcknowledgement
- Sets the auto-acknowledgement. When enabled (default), the messages are automatically acknowledged. If set to false, the messages must be acknowledged explicitly using io.vertx.amqp.AmqpMessage, io.vertx.amqp.AmqpMessage and io.vertx.amqp.AmqpMessage.
capabilities
- Sets the list of capabilities to be set on the receiver source terminus.
capabilitys
- Adds a capability to be set on the receiver source terminus.
durable
- Sets the durability. Passing true sets the expiry policy of the source to NEVER and the durability of the source to UNSETTLED_STATE.
dynamic
- Sets whether the Source 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.AmqpReceiver method on the io.vertx.amqp.AmqpReceiver received once opened.
maxBufferedMessages
- Sets the max buffered messages. This message can be used to configure the initial credit of a receiver.