There is an example here that explains on how to send messages and receive messages using Azure Service Bus through a publisher and subscriber application.
My questions are about the subscriber application that receives messages:
- Does registering in the application a message handler with
subscriptionClient.RegisterMessageHandler(ProcessMessagesAsync, messageHandlerOptions);
process the messages 24/7 until the application is shut down? - Can I deploy the subscriber console app in Azure only through Docker Container? If I don't want to use containers, what is the other hosting option I have? I have done CI/CD pipeline to host a WebAPI in Azure App Services from Visual Studio 2019 before.