private async Task ProcessMessagesAsync(Message message, CancellationToken ct)
        {
            var command = ServiceBusMessage.From(message).GetCommand();

            _logger.LogInformation($"Received message: SequenceNumber:{message.SystemProperties.SequenceNumber} Body:{command.Id}");

            await _commandDispatcher.ExecuteAsync(command);

            // Complete the message so that it is not received again.
            // This can be done only if the subscriptionClient is created in ReceiveMode.PeekLock mode (which is default).
            await _subscriptionClient.Client.Value.CompleteAsync(message.SystemProperties.LockToken);
        }