Last post Sep 12, 2019 04:52 AM by Rena Ni
Sep 11, 2019 03:13 AM|jayakumarvinayagam|LINK
Am working on two web api service need to handshake with the help of Rabbit Mq, would please share any real-time implementation tutorial or blog to learn.
I used https://www.rabbitmq.com/dotnet-api-guide.html but somehow I missed some steps to make this works.
API-1 publish the message, then API-2, API-3, API-4 going to receive notification and do their own action after notified.
Sep 11, 2019 03:52 AM|bruce (sqlwork.com)|LINK
normally a webapi would not subscribe to a queue (only send queue items). typically a service (command line like in the api guide) would listen to the queue, and call a web service. with .net core you can use hosted services connect to the queue instead
of a separate process
note: if you host in IIS, you will need set always run, no idle timeout and auto load, or IIS will shout down the site, and it will stop listening to the queue.
Sep 12, 2019 04:52 AM|Rena Ni|LINK
Did your web api service based on using asp.net core?
I suggest that you could refer to the official tutorial in Rabbit Mq: