public function reject($delivery_tag, $flags = AMQP_NOPARAM) {

        $requeue = boolval($flags & AMQP_REQUEUE);

        try {
            $this->channel->_getChannel()->basic_reject($delivery_tag, $requeue);
        } catch (AMQPRuntimeException $e) {
            throw new AMQPConnectionException($e->getMessage(), $e->getCode(), $e->getPrevious());
        } catch (Exception $e) {
            return false;
        }

        return true;
    }