(PECL amqp >= Unknown)
AMQPChannel::qos — Set the Quality Of Service settings for the given channel
Specify the amount of data to prefetch in terms of window size (octets) or number of messages from a queue during a AMQPQueue::consume or AMQPQueue::get method call. The client will prefetch data up to
size octets or
count messages from the server, whichever limit is hit first.
Setting either value to 0 will instruct the client to ignore that particular setting.
The window size, in octets, to prefetch.
The number of messages to prefetch.
Throws AMQPConnectionException if the connection to the broker was lost.
TRUE on success or
FALSE on failure.