0

How does Azure Queue triggered function app decides whether the method succeeded or not?

Fred
  • 41
  • 1
  • 6

2 Answers2

0

When the message is read from the queue and processed by your function app then the method becomes successful. Once the message has been read from the queue we should no longer be able to see the message in the queue.

madhu
  • 1,140
  • 8
  • 14
0

Since your trigger is the Azure Queue, you can utilize the queue error codes and handle that error codes within your Azure Function app. This documentation about Azure Queue storage output bindings for Azure Functions might be helpful to you for reference in handling those codes.

And based on those codes, it's now your preference for how your function app behaves. Either return RESTful response or throw an exception if there's an error. :)

Have a good learning journey!