Queue trigger only working for one queue

Frederik Hundahl Kehlet 6 Reputation points


I have a function app with two queue trigger functions. Each function is responsible for processing a new message when the respective queue recieves a new message.

This is the code for the first function:

Code for the second function:

I have created two queues under the same storage account, and I've made sure that the names of the queues are correct in each queue trigger function.

My issue is this:
When a new message is added to the queue "e-conomic-webhook-customer-messages", the second function is executed without any problems and the message is removed from the queue. However, if a message is added to the queue: "e-conomic-webhook-product-messages", the first function is not firing and the message stays in the queue.

Can anyone help me?

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,695 questions
Azure Queue Storage
Azure Queue Storage
An Azure service that provides messaging queues in the cloud.
87 questions
{count} votes