code: public function beforeWork(): void
      {
          if ($this->refreshQueues && empty($this->spec) == false) {
              $this->queues = $this->collection->fromSpec($this->spec);
  
              if (empty($this->queues) == true) {
                  $this->logger->info('Refreshing queues dynamically, but there are no queues yet');
              }
          }
      }
docs: {@inheritdoc}
  
  @return void