src/Driver/PeclAmqpDriver.php
public function nack(Message $message, $requeue = true)
    {
        $queue = $this->getQueue($message->getQueue());
        $queue->nack($message->getDeliveryTag(), $requeue ? AMQP_REQUEUE : AMQP_NOPARAM);
    }
public function nack(Message $message, $requeue = true)
    {
        $queue = $this->getQueue($message->getQueue());
        $queue->nack($message->getDeliveryTag(), $requeue ? AMQP_REQUEUE : AMQP_NOPARAM);
    }
Acknowledge an error during the consumption of the message

@param Message $message
@param bool    $requeue

@return void

@throws \AMQPConnectionException
@throws \AMQPChannelException
@throws \AMQPQueueException