How to configure Azure function called by service bus using custom INameResolver?

I want to be able to control the name of the service bus queue or subscription that my Azure function reads at runtime.

Using WebJobs (based on which Azure functions are implemented) you can do this by executing and setting up a custom one INameResolver, see How do I get the queue name for the configuration for a web processing job?

However, when using Azure features, I do not have access to JobHostConfigurationconnect this custom converter.

Can I use INameResolver, and if so, how?

+4
source share

Source: https://habr.com/ru/post/1679604/


All Articles