I am developing a scenario where a message is sent to the Azure storage queue. For testing purposes, I developed a console application where I receive a message, and I can update it by counting attempts, and when the logic is complete, I delete the message.
Now I'm trying to port my code to an Azure function. One thing that seems very different is when the Azure function is called, the message is removed from the queue.
I find it difficult to find documentation on this specific issue, and I feel that I am missing something regarding the concept of combining the two.
My questions:
- Is it correct that when a function starts in a new queue element, the function accepts the message and removes it from the queue, even if the function does not work?
- If 1 is true, how do you verify that the message is repeated and sent to the dead queue for further processing?
source
share