static async Task <QueueChannel> _InitializeWorkQueueChannel(IConfiguration configuration)
        {
            var queueName           = configuration.GetValue("WorkQueueName", "work_queue");
            var queueChannelFactory = new QueueChannelFactory(queueName, configuration);
            var queueChannel        = await queueChannelFactory.CreateQueue();

            return(queueChannel);
        }
        static async Task <QueueChannel> InitializePriorityQueueChannel(IConfiguration configuration)
        {
            var queueName           = configuration.GetValue("PrioritizedWorkQueueName", "prioritized_work_queue");
            var queueChannelFactory = new QueueChannelFactory(queueName, configuration);
            var queueChannel        = await queueChannelFactory.CreateQueue(priority : true);

            return(queueChannel);
        }