I want to be able to control the name of the Service Bus Queue or Subscription that my Azure Function reads from at run-time.
With WebJobs (which Azure Functions are based on) you could do this by implementing and configuring a custom INameResolver
, see: How to have a configuration based queue name for web job processing?
However, with Azure functions I have no access to JobHostConfiguration
to wire up this custom resolver.
Can I still use an INameResolver
, and if so how?