Azure-webjobs-sdk: Support for dynamic subscriptions?

Created on 6 Jun 2016  路  3Comments  路  Source: Azure/azure-webjobs-sdk

I'm creating multiple subscriptions to a topic programmatically. Each subscriber will apply a filter based on a message property (based on a SqlFilter). Does the WebJobs SDK support this?

improvement

All 3 comments

No not currently. If you look at ServiceBusTriggerAttribute, to subscribe to a topic, both a topic and a subscription must be specified (e.g. [ServiceBusTrigger("mytopic", "mysubscription")]).

Closing this since mathew answered this and we don't have a plan to support.

Being able to specify the parameters to ServiceBusTrigger without constant values is a really big deal for us. In our case we want to run the same web job code, but with different topics and subscriptions based on configuration values. We can't use them because config values aren't constant.

Was this page helpful?
0 / 5 - 0 ratings