Table of contents

Official Content

Service Bus trigger functions and Queue Storage trigger functions are other types of Azure Functions.

Queue Storage

The Queue storage trigger runs functions as messages are added to Azure Queue storage.
The Trigger type property at the deployment unit should be "Queue" for this kind of function.

Service Bus

You use the Service Bus trigger to respond to messages from a Service Bus queue or topic.
The Trigger Type property at the deployment unit should be "Service Bus" for this kind of function.

Deployment steps

First, read HowTo: Create a GeneXus Procedure to be deployed as an Azure or AWS Function.
To deploy the function, use the deployment tool. See HowTo: Deploy as Azure Functions.

Function Configuration

The function's configuration depends on its Trigger type.

Examples

In the case of Service Bus, it can be "Queue" or "Topic," and it has different configuration settings for each one.

Example for Service Bus Topic:

image_2021128133959_1_png
Trigger Type Service Bus Topic example

The configurations are created automatically as app settings in the cloud so they can be managed easily (with no need to re-deploy)

image_202112813411_1_png

Example for Service Bus Queue:

image_20211021211831_1_png
Trigger Type Service Bus Queue example

Example for Queue Trigger Type:

In the case of Queue Trigger type, the configuration settings are as shown in the following image taken from an example:

image_2021102121146_1_png
Trigger Type Queue example

As stated before, all the configurations are created automatically as app settings in the cloud so they can be managed easily (with no need to re-deploy).


Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant