Table of contents

i
This is not the latest version of this document; to access the latest version, click here.
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.

Samples

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

Sample for Service Bus Topic:

image_2021128133959_1_png
Trigger Type Service Bus Topic sample

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

Sample for Service Bus Queue:

image_20211021211831_1_png
Trigger Type Service Bus Queue sample

Sample 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 sample

Setting configurations at runtime

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

In the case of the Queue Name or Topic name, if you configure the property surrounded by % that name will be taken as an app setting. Then the app setting must be defined in Azure by you.

Scope

Generators: .NET

Availability

This function is available since GeneXus 17 upgrade 3.


Last update: December 2025 | © GeneXus. All rights reserved. GeneXus Powered by Globant