public function nack(Message $message, $requeue = true)
    {
        $this->getChannel()->basic_reject($message->getDeliveryTag(), $requeue);
    }
public function nack(Message $message, $requeue = true)
    {
        $this->getChannel()->basic_reject($message->getDeliveryTag(), $requeue);
    }
public function nack ( Message $ message , $ requeue = true ) { $ this -> getChannel ( ) -> basic_reject ( $ message -> getDeliveryTag ( ) , $ requeue ) ; }
Aknowledge an error during the consumption of the message

@param Message $message
@param bool   $requeue

@return void
Aknowledge an error during the consumption of the message