/**
  * {@inheritDoc}
  */
 public function reject(MessageDelivery $delivery)
 {
     try {
         $this->getChannel()->basic_reject($delivery->getTag(), true);
     } catch (\Exception $e) {
         throw new DriverException('Basic reject error', $e);
     }
 }
 /**
  * {@inheritDoc}
  */
 public function reject(MessageDelivery $delivery)
 {
     $this->getQueue($delivery->getQueue())->nack($delivery->getTag(), AMQP_REQUEUE);
 }