To demonstrate the last statement in the preceding section, let us use a timer-triggered function to test the ProcessQueue function that we created in Chapter 5, Integrations and Dependencies, which is triggered by a Service Bus queue message.
As mentioned, a Service Bus message can be simulated in other ways, including using triggering from the Function Core Tools. The following process, however, allows us to execute the actual "real" event flow, rather than debugging with a dummy message.
Creating an access policy for the Service Bus Queue
To write messages to the Service Bus Queue, we first need to create an appropriate access policy. In this case, we will create a policy with only the ...