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
)