I'm working on a microservices system in which two microservices communicate with the Request-Response EasyNetQ lib pattern using a RabbitMQ broker.
But the requester service doesn't receive any response from rabbitmq and casue an exception after a connection timeout.
Specifically when requester service (A) send request to the worker service (B), EasyNetQ lib auto generates the working queue that is named with the involved class type names, and I can see that one message is published to that queue, then the worker service (B) consume the message, do it's work and then publish the response message.
At this point EasyNetQ generate a working queue for dispatching the response message (named e.g. "easynetq.response.74906c0f-5968-460e-9e16-21100c1f582d" ),
but the queue seams not be subscribed from any consumers and the requester service process generate an excpetion after a connection timeout.
I'm sure that someone knows the solution for this agonizing problem ;)
question from:
https://stackoverflow.com/questions/65924236/easynetq-request-response-queue-is-not-consumed-by-anyone 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…