Azure Webjobs - Define QueueName trigger on app.config -
with new release of azure webjobs 3.0.0 sdk announced the: http://azure.microsoft.com/blog/2014/06/18/announcing-the-0-3-0-beta-preview-of-microsoft-azure-webjobs-sdk/
improved function discovery
we added itypelocator , inameresolver enable customizing how webjobs sdk looks >for functions. enables scenarios such following:
- you can define functions queuename not explicit. can read queue names config source , specify value @ runtime.
- restrict function discovery particular class or assembly.
- dynamic functions @ indexing time: can define function signature @ runtime.
but there's no sample code on how it.
does know how define queue name @ runtime (e.g. app.config)?
if take advantage of new inameresolver in configuration can make own implementation of interface , replace in jobhostconfiguration. take @ blog post made small poc on topic.
Comments
Post a Comment