Open Closed

ABP RabbitMQ - Request/Reply messaging #267


User avatar
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 -

  1. 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?
  2. 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)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    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/

Made with ❤️ on ABP v9.0.0-preview. Updated on October 07, 2024, 08:52