MAKS\AmqpAgent\Worker\ConsumerInterface::qos
Specifies the quality of service on the default channel of the worker's connection to RabbitMQ server.
Signature
public function qos([array
$parameters = NULL,
[AMQPChannel
$_channel = NULL]] )
Parameters
$parameters
—
array
- [optional] The overrides for the default quality of service options of the worker.
$_channel
—
MAKS\AmqpAgent\Worker\AMQPChannel|null
- [optional] The channel that should be used instead of the default worker's channel.
Returns
- ConsumerInterface