protected function dispatch(string $aggregateId, PayloadInterface $payload, array $metaData = null): void
    {
        $this
            ->getCommandDispatcher()
            ->dispatch(
                new CommandMessage(
                    $payload,
                    new PayloadType($payload),
                    $aggregateId,
                    $metaData
                )
            );
    }