- Azure Serverless Computing Cookbook
- Praveen Kumar Sreeram
- 144字
- 2021-06-10 18:55:58
Creating Queue Trigger to process the message of the HTTP Trigger
Perform the following steps:
- Create a Azure Queue Storage Trigger by choosing the template shown in the following screenshot:
- In the next step, provide the name of the Queue Trigger and the name of the queue that needs to be monitored for sending the notifications. Once you provide all of the details, click on Create button to create the Function:
- After creating the Queue Trigger function, let's run the RegisterUser function to see whether the Queue trigger is getting invoked. Open the RegisterUser function in a new tab and test it by clicking on the Run button. In the Logs window of the SendNotifications tab, you should see something like the following:
Once we ensure that the Queue Trigger is working as expected, let's create the SendGrid bindings to send the email.