D
D
Dmitry Bashinsky2019-01-21 16:24:29
ASP.NET
Dmitry Bashinsky, 2019-01-21 16:24:29

How to read service bus when requested?

Hello, I am making a service in which users are given messages that users must process and say that they have processed it. It is very important that one message is executed once - by one user, so I immediately got the idea to use the message queue, and everything was fine until I needed to read it.
I have ASP Net Core API
https://docs.microsoft.com/en-us/azure/service-bus...
I successfully created messages in the queue, but in order to subtract them, I need to create a message arrival event handler, and I need to give a message from the queue when requested (GetMessage()), so this method does not suit me. I considered the option to create an Azure Function for subtraction, and throw them into the API with the POST method and write it to the cache, but this is a terrible idea because the API will be deployed in several instances.
Are there similar services for this? preferably free (I do not have a commercial application) so that there is a method like ReadNextMessage () and the usual WriteMessage ()

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question