public function getQueueMonitor(): ?Monitor
    {
        if (!$this->hasQueueMonitor()) {
            $this->setQueueMonitor($this->getDefaultQueueMonitor());
        }
        return $this->queueMonitor;
    }