I have a WebJob that has is meant to be triggered whenever a ServiceBus queue item shows up
public static void ProcessQueueMessage(
[ServiceBusTrigger("%ServiceBusHighPriorityQueueName%")] BrokeredMessage message)
Some sites state the following
I assume ServiceBus queue trigger handler is "Triggered" instead of "Continuous", so what should be used when setting the webjob-publish-settings.json parameter runMode?
Since it is triggered, does the AppService still need to be AlwaysOn?
When using the WebJobs SDK with a host that blocks, the WebJobs needs to be set as continuous, even though from the point of view of individual functions, they behave as if they are triggered.
Basically, continuous is correct whenever you have an exe that runs forever, and that is the case here.
And of course, do do need to have Always On enabled.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With