What startup mode should I use to start the WebBob ServiceBus?

I have a WebJob that should start whenever a ServiceBus queue item is displayed

public static void ProcessQueueMessage(
    [ServiceBusTrigger("%ServiceBusHighPriorityQueueName%")] BrokeredMessage message)

Some sites have the following

  • Continuous: a web application that will always work
  • Triggered: WebJob that runs on demand when the API is called or when the scheduled condition is reached.

I assume that the ServiceBus trigger handler is “Trigger” instead of “Continuous,” so what should I use when setting the webjob-publish-settings.json runMode parameter

Since it starts, still need the AppService to be AlwaysOn?

+4
1

SDK WebJobs , , WebJobs , , .

, , exe, , .

, , Always On.

+4

Source: https://habr.com/ru/post/1675866/


All Articles