Quantcast
Channel: Service Bus forum
Viewing all articles
Browse latest Browse all 1916

How to design a call back service ?

$
0
0

Hi,

Could you help me understand whether this is possible or whether I am on the right track with what I am trying to achieve?

Client
(C# Winform) ---- Send a Message to Service Bus [SB]
Please Keep in mind that Client can be ASP.NET MVC/Mobile App.

Message Handler
[SB] <----> Handler Reading the Message and Perform Long Running Task Like OCR/Download File, Then Return the Data/File Back to the Client.

Question:

Handler

- Currently thinking of Writing Console App - light

How do I keep Client and Handler (Talk to each other - mind blogging) ?

How/What method to use? to Notify the Client that the OCR task is complete (Async Call/Callback) so that it is not blocking the UI Thread.

- My thinking is having a 2nd Service Bus Queue.

Then when the Handler completed it task, send a message to the 2nd queue where the Client is Waiting/Listen for the Message.

Is this where SignalR come to play (Some How), I have read SignalR Vaguely about real time handling?

I am thinking of Cloud based solution

Am I on the right Track, Do you have any Recommendation or approach please Shed some light ?

Many Thanks.
Regards Dat.


Cool



Viewing all articles
Browse latest Browse all 1916

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>