basicQos

open suspend override fun basicQos(count: UShort, global: Boolean): AMQPResponse.Channel.Basic.QosOk

Sets a prefetch limit when consuming messages. No more messages will be delivered to the consumer until one or more messages have been acknowledged or rejected.

Return

AMQPResponse.Channel.Basic.QosOk confirming that broker has accepted the qos request.

Parameters

count

Size of the limit.

global

Whether the limit will be shared across all consumers on the channel.