-
Notifications
You must be signed in to change notification settings - Fork 474
Description
Is your question related to a specific version? If so, please specify:
What language does your question apply to? (e.g. C#, JavaScript, Java, All)
C#
Question
Hi,
I've been using the Microsoft.Azure.WebJobs.Extensions.ServiceBus-package to setup methods that act as triggers for ServiceBus subscriptions and it works great. However, the current setup only seem to allow for defining your input triggers using the ServiceBusTrigger-attribute where queue/topic name are defined using compile time constants.
I saw that you can also implement your own name resolver to get some more flexibility. But I wonder, is it possible to also register triggers through the DI somehow to avoid befing forced to use the attribute?
I've also seen that it is possible to use runtime binding but most of the documentation I've found focuses on runtime binding for output bindings. However, I'm interested in achieving the same for input bindings.