How can I trigger a retry if the consumption of some message fails for a retryable reason? #106
Unanswered
daniel-bray-sonalake
asked this question in
Q&A
Replies: 1 comment
-
Sorry for the late answer, somehow I'm not notified of new discussion entries :-( I don't think retry is something the client library should handle. Retry can have complicated semantics, so I'd let this responsibility to the application, with its own utilities or retry frameworks [1] [2]. [1] https://github.com/spring-projects/spring-retry |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all, thanks in advance for any help on this one.
We have a reasonably likely race condition in our own application where
So I was wondering: is it possible to have the stream consumer's
messageHandler
throw some class of error, or in some other way tell the consumer to retry a given message after some short time?I tried this but the exception is just swallowed in
com.rabbitmq.stream.impl.ServerFrameHandler.BaseFrameHandler
Thanks
Beta Was this translation helpful? Give feedback.
All reactions