You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When redis is failing at this point and the program is running to the
' connectionFactory.getConnection()'
then it will report a RedisConnectionFailureException;
But it's caught by the outer catch, which causes it to not go to the inner 'handleSubscriptionException' method, resulting in an inability to keep retrying
The text was updated successfully, but these errors were encountered:
mp911de
changed the title
Application can't retry resubscribing to topics after redis fails to restartRedisMessageListenerContainer resubscribe fails after exception
Nov 23, 2023
Thanks for raising the issue. I can confirm that problem and we need to fix it.
mp911de
changed the title
RedisMessageListenerContainer resubscribe fails after exceptionRedisMessageListenerContainer resubscribe using Jedis fails after exception
Nov 23, 2023
…ry after subscription.
We now differentiate exception handling regarding the recovery state. Initial listen fails if the connection is unavailable. Upon recovery after a preceeding subscription we now log the success to create a counterpart to our error logging.
Closes: #2782
Original Pull Request: #2808
# Conflicts:
# src/main/java/org/springframework/data/redis/listener/RedisMessageListenerContainer.java
# src/test/java/org/springframework/data/redis/listener/RedisMessageListenerContainerUnitTests.java
…ry after subscription.
We now differentiate exception handling regarding the recovery state. Initial listen fails if the connection is unavailable. Upon recovery after a preceeding subscription we now log the success to create a counterpart to our error logging.
Closes: #2782
Original Pull Request: #2808
When redis is failing at this point and the program is running to the
' connectionFactory.getConnection()'
then it will report a RedisConnectionFailureException;
But it's caught by the outer catch, which causes it to not go to the inner 'handleSubscriptionException' method, resulting in an inability to keep retrying
The text was updated successfully, but these errors were encountered: