c# - How to handle MSMQ delay problem? -


Scenerio:

The function A () -> creates a message and puts messages in the queue

The listener -> constantly checks for a message in the queue and sends it to the service to process and receives the result and inserts the result in DB

function B ( ) -> DB

Let's assume that the result from the service has not yet come and the function B () is now called, tht message The record of the id is empty due to DB, because the result is not

If the function meets the service completing B Depending on it, then it should also close a message queue.

When the service is finished, then he should write a new message in another line and another listener should choose it and call the function B.

If function B is triggered by the user interface gesture, then the UI should just tell that an essential process has not been completed and as long as this does not work.


Comments

Popular posts from this blog

MySql variables and php -

url rewriting - How to implement the returnurl like SO in PHP? -

Which Python client library should I use for CouchdB? -