MassTransit.RequestTimeoutExceptioncaused while using Request-Response pattern #1530
Closed
Giorgobiani-G
started this conversation in
General
Replies: 1 comment 8 replies
-
Hello, thanks for using RabbitMQ. I suggest asking your question in the MassTransit GitHub discussions - https://github.com/MassTransit/MassTransit/discussions |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have two api. I am using MassTransit.RabbitMQ" Version="8.1.3 for communication. Problem is that when i send get request From api A , i get MassTransit.RequestTimeoutExceptioncaused , but not always. This happens only when the api B connection in rabbitMq is down.. when connection of api B is runnung its not the problem. The api B Connection is down after some time itself, i get it , but i think it should be reactivated itself when i send request from api A, that uses request/response to get data from api B.
I have this type of configuration here for api A:
here is Request Client in api A:
here Consumer from Api B :
Tell me please, Should i add some additional configuration or how to fix this problem?
i think i need rabbitMQ connection to configure so that it wtill automatically be actived when i send IRequestClient requst from service A, but how to achieve that.
Beta Was this translation helpful? Give feedback.
All reactions