flow

abstract suspend fun flow(active: Boolean): AMQPResponse.Channel.Flowed

Send a flow message to broker to start or stop sending messages to consumers. Warning: Not supported by all brokers.

Return

AMQPResponse.Channel.Flowed confirming that broker has accepted the flow request.

Parameters

active

Flow enabled or disabled.