src/Handler/AckHandler.php
public function handle(Message $message)
    {
        try {
            $result = $this->handler->handle($message);
            $this->driver->ack($message);
            return $result;
        } catch (\Exception $e) {
            $this->driver->nack($message, $this->requeueOnFailure);
            throw $e;
        }
    }
public function handle(Message $message)
    {
        try {
            $result = $this->handler->handle($message);
            $this->driver->ack($message);
            return $result;
        } catch (\Exception $e) {
            $this->driver->nack($message, $this->requeueOnFailure);
            throw $e;
        }
    }
Handle a message.

@param Message $message

@return bool

@throws \Exception