protected function process(BusQueCommandInterface $command) : array
{
$baseCommand = $command->getCommand();
$queueName = $this->implementation->getQueueResolver()->resolveQueueName($baseCommand);
$commandId = $command->getId() ?: $this->implementation->getCommandIdGenerator()->generateId($baseCommand);
$serialized = $this->implementation->getCommandSerializer()->serialize($baseCommand);
return [$queueName, $commandId, $serialized];
}