I have a console application that runs and monitors an Azure service bus queue. The function I have accepts a Message class and processes it. The app registers the function.
Now I need to convert it to run when a message comes into the message bus queue.
All of the examples I see show a static class with a static method with some parameters being decorated by attributes. It shows the message being sent as being a string.
But my method has a Message class being sent to it.
If I want to use that same app as the azure function app, what should I do?