Share via

Queue trigger only working for one queue

Frederik Hundahl Kehlet 6 Reputation points
2021-02-16T14:52:53.773+00:00

Hi

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:
68598-billede.png

Code for the second function:
68675-billede.png

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.

Azure Queue Storage
Azure Queue Storage

An Azure service that provides messaging queues in the cloud.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.