I wonder why my webjob is not able to execute method ProcessQueueMessage
in Functions.cs
after find message in queue?
Functions.cs
public class Functions
{
public static void ProcessQueueMessage([QueueTrigger("testqueue")] string logMessage, TextWriter logger)
{
logger.WriteLine(logMessage);
}
I run this webjob it shows following in console.
Found the following functions:
ProcessQueueMessage
Job host started
The problem is the Debugger is not hit when there is any messages added into testqueue
.
I already did this last time, and it worked. What did I miss? I have not hosted my webjob on Azure.