0
Repunjay created
Hi, We are developing few microservices using ABP framework which expose HTTP APIs. These microservices will run in container and will communicate with each other internally to exchange data. We want to implement Request/Reply messaging using RabbitMQ for inter microservices communication. As ABP provides integration with RabbitMQ, I can only see publish/subscribe example in the documentation.
Need to know -
- Is there a way to do Request/Reply messaging between microservices using existing ABP-RabbitMQ implementation? If yes, could you please share some documentation or illustrative example?
- If #1 is not true, do we have to rely on native implementation of RabbitMQ to accomodate Request/Reply communication, please confirm.
Thanks, Repunjay
1 Answer(s)
-
0
Hi,
ABP only integrates rabbitmq for the distributed event bus.You need to implement tis feature yourself.
You can use Rabbitmq to implement RPC: https://www.rabbitmq.com/tutorials/tutorial-six-dotnet.html. or you can directly use grpc :https://grpc.io/docs/languages/csharp/quickstart/