azure-webjobs

How to make sure a queue message has been successfully processed in Azure Functions?

删除回忆录丶 提交于 2020-12-07 05:10:41
问题 I have a C# Azure Functions (on the App Service plan) app built that uses HTTP Triggers and Queue Triggers. The application works by installing a script on a client's machine that pulls various files from a client database using SQL queries moving that output to a temporary Azure Blob Storage. After each file is completed an HTTP trigger is called that creates a queue message for the Queue Trigger to pick up the message and move the files from the temporary blob storage to a permanent spot in

How to make sure a queue message has been successfully processed in Azure Functions?

北战南征 提交于 2020-12-07 05:08:48
问题 I have a C# Azure Functions (on the App Service plan) app built that uses HTTP Triggers and Queue Triggers. The application works by installing a script on a client's machine that pulls various files from a client database using SQL queries moving that output to a temporary Azure Blob Storage. After each file is completed an HTTP trigger is called that creates a queue message for the Queue Trigger to pick up the message and move the files from the temporary blob storage to a permanent spot in

How To Configure Queue Name for Queue Trigger In Azure Function App

扶醉桌前 提交于 2020-12-01 02:33:28
问题 I'm creating a function app in Azure and want to use a queue trigger. I know how to configure the queue name at design time, e.g: [FunctionName("MyTestFunction")] public static void Run([QueueTrigger("myqueue-items", Connection = "testdelete")]string myQueueItem, TraceWriter log) However, I'd like to be able to define and reference it in a configuration file. I'm aware of the existence of function.json (Probably this one), host.json and local.settings.json, but I don't know how to set a queue

How To Configure Queue Name for Queue Trigger In Azure Function App

試著忘記壹切 提交于 2020-12-01 02:31:43
问题 I'm creating a function app in Azure and want to use a queue trigger. I know how to configure the queue name at design time, e.g: [FunctionName("MyTestFunction")] public static void Run([QueueTrigger("myqueue-items", Connection = "testdelete")]string myQueueItem, TraceWriter log) However, I'd like to be able to define and reference it in a configuration file. I'm aware of the existence of function.json (Probably this one), host.json and local.settings.json, but I don't know how to set a queue

How To Configure Queue Name for Queue Trigger In Azure Function App

巧了我就是萌 提交于 2020-12-01 02:29:24
问题 I'm creating a function app in Azure and want to use a queue trigger. I know how to configure the queue name at design time, e.g: [FunctionName("MyTestFunction")] public static void Run([QueueTrigger("myqueue-items", Connection = "testdelete")]string myQueueItem, TraceWriter log) However, I'd like to be able to define and reference it in a configuration file. I'm aware of the existence of function.json (Probably this one), host.json and local.settings.json, but I don't know how to set a queue