I have the following scenario:
- I have an azure webjob (used to send mails) and I need to check the progress of the webjob in my web application.
- I am using SignalR to communicate with clients from my server.
- When I want to send an email, I push a message in the queue and the azure webjob does his job.
The question is, how can I communicate the progress of the webjob to the client? Originally my idea was to push a message from the webjob, so the Hub could read it from the queue. Then, I would notify clients from the hub. However, I am not able to find a way to communicate the webjob and the hub, I do not know how to trigger an action in the hub when a message is pushed into the queue or in the service bus. That is to say, I dont know how to subscribe the hub to a certain message of the queue.
Can someone help me with it?