Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where did WebJob ServiceBusTrigger disappear?

I have a WebJob that parses a ServiceBus Topic Subscription.

Now I read several examples of using the WebJob binding mechanism to make the code cleaner. https://github.com/Azure/azure-webjobs-sdk-samples/blob/master/BasicSamples/ServiceBus/Functions.cs http://blog.devscrum.net/2014/09/using-azure-web-jobs-simplify-running-background-processes/ http://blogs.blackmarble.co.uk/blogs/sspencer/post/2014/07/03/Creating-a-Simple-Workflow-with-Azure-Webjobs-and-Service-Bus.aspx

So I downloaded the following in Nuget:

Microsoft.Azure.WebJobs 1.0.0

Windows.Azure.Storage 4.3.0

Namespaces look fine. QueueTrigger is there. But the ServiceBusTrigger is nowhere to be found! Is that binding suddenly removed from the scope?

like image 316
Jakob Lithner Avatar asked Dec 08 '14 10:12

Jakob Lithner


1 Answers

It's in a Microsoft.Azure.WebJobs.ServiceBus package:

Install-Package Microsoft.Azure.WebJobs.ServiceBus
like image 145
b2zw2a Avatar answered Sep 21 '22 04:09

b2zw2a