internal static string DetermineStorageQueueName(ReadOnlySettings settings)
        {
            var configuredQueueName = settings.GetConfiguredMsmqPersistenceSubscriptionQueue();

            if (!string.IsNullOrEmpty(configuredQueueName))
            {
                return(configuredQueueName);
            }
            ThrowIfUsingTheOldDefaultSubscriptionsQueue(configuredQueueName);

            var defaultQueueName = $"{settings.EndpointName()}.Subscriptions";

            Logger.Info($"The queue used to store subscriptions has not been configured, the default '{defaultQueueName}' will be used.");
            return(defaultQueueName);
        }