Open well0549 opened 3 months ago
It's on isolated consumption plan
Transferring to a more appropriate repo.
Thanks for informing please register service bus properly .
@bhagyshricompany the servicebus is registered properly, only the nameresolver that I created is not chosen. Instead the DEAFULT name resolver is chosen. If the nameresolver cannot be overwritten for an isolated function, update the documentation. or make the NameResolver overridable so it will work as in non isolated functions
The code example above is not the actual namersolver but just an example. In the real name resolver i would prepend an environment prefix to the queue.... But this doesn't work whith the current (non overridable) name resolver
@bhagyshricompany any news? Insights?
@well0549 no API from Microsoft.Azure.WebJobs.*
works with dotnet isolated in the function worker. Those packages are not used there, all extensibility points come from Microsoft.Azure.Functions.Worker.*
Can you provide more information about your scenario and need for the INameResolver
?
@mattchenderson do we have this documentation somewhere or need to add that?
I have an environment setting, and i want to prefix the queues wit this environment setting.
It would be much cleaner if I could resolve te queue name dat run time.
I use an environment setting for now, but less settings means less errors
Description
I want to be able to get a ServiceBus trigger name with the INameResolver. And have my own implementation
Expected behavior
To resolve the name with the name resolver I implemented.
Actual behavior
Another name resolver is selected, not the one I implemented
Relevant source code snippets
Known workarounds
I can only use environment settings in the current name resolver. But not my own implementation.
App Details
c#