0 votes
in Azure Function by
What is Storage queue trigger in Azure function?

1 Answer

0 votes
by

Once messages are added to Azure Queue storage, the queue storage trigger performs a function. In function, a storage queue trigger is defined. When a new item is added to a queue, use the queue trigger to initiate a function. The function receives the queue message as input.

@FunctionName("queuetriggerfunction")

public void run(

    @QueueTrigger(name = "mytrigger",

                queueName = "triggerqueuename",

                connection = "triggerconnection") String message,

    final ExecutionContext context

)

Related questions

0 votes
asked Mar 16, 2022 in Azure Function by sharadyadav1986
0 votes
asked Oct 31, 2020 in Azure by rahuljain1
...