[Messenger] Ensure message is handled only once per handler #30020
Add check to ensure that a message is only handled once per handler
This would make error handling and retrying of messages much more easier. As statet here #27008 (comment) there is currently no way to retry a for all failed handlers if there are mutliple handlers and just some throw an exception.
Jan 30, 2019
referenced this pull request
Mar 22, 2019
We need to wait for #30557 to be merged to go forward with this one because we need to make sure the
But either way, wouldn't it make more sense to retry all the listeners by default? It might cause even more inconsistency if we only call the "remaining listeners" isn't it? (only if they are related to each other I guess)
@keulinho can you rebase now that #30557 is merged? This is a missing piece to handling failures correctly. It could be a bit more complex, but I'm wondering if we should add an integration test involving
Hmm, I don't think I agree with this. It seems like more risk to knowingly execute a handler two times.