简体   繁体   中英

Azure Queue Trigger function

Azure Queue 触发的函数应用程序如何决定方法是否成功?

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.

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!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM