-
Notifications
You must be signed in to change notification settings - Fork 626
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using AsyncRabbitTemplate. ConvertSendAndReceive return RabbitConverterFuture display Reply timed out, how to solve? #2478
Comments
Not enough info. |
org.springframework.amqp.core.AmqpReplyTimeoutException: Reply timed out |
Well, still not clear what you want from us.
So, you need to react to that exception respectively, but according to you description it is not clear what is your goal. Probably your server side just don't send a reply back to you. |
Yes, it simply means that no reply was received within the timeout. |
Closing due to lack of response. |
If an exception is thrown by spring-amqp/spring-rabbit/src/main/java/org/springframework/amqp/rabbit/AsyncRabbitTemplate.java Line 611 in 1c49e57
it results in an AmqpReplyTimeoutException. This happens because the directReplyToContainer in AsyncRabbitTemplate does not provide an option to set a custom ErrorHandler. |
@BenEfrati ,
Same |
@artembilan,
|
OK. So, you mean we have to add a |
…late Previously, conversion errors in AsyncRabbitTemplate lead to AmqpReplyTimeoutException
…late Previously, conversion errors in AsyncRabbitTemplate lead to AmqpReplyTimeoutException
…late Previously, conversion errors in AsyncRabbitTemplate lead to AmqpReplyTimeoutException
Using AsyncRabbitTemplate. ConvertSendAndReceive return RabbitConverterFuture display Reply timed out, how to solve?
future.whenComplete((result, ex) -> {
if (ex == null) {
} else {
}
});
The text was updated successfully, but these errors were encountered: