How to have a configuration based queue name for web job processing?
问题 I have a webjob app to process a ServiceBus queue, which runs fine, with the following method: public static void ProcessQueueMessage([ServiceBusTrigger("myQueueName")] BrokeredMessage message, TextWriter log) However, I would like to be able to change the queue name without recompiling, according for example to a configuration appsetting, can it be done? 回答1: I've found an implementation of the INameResolver using configuration setting from the azure-webjobs-sdk-samples. /// <summary> ///