Skip to content
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

Error handling does not work with blocking event bus consumers #12599

Closed
tsegismont opened this issue Oct 8, 2020 · 1 comment · Fixed by #12616
Closed

Error handling does not work with blocking event bus consumers #12599

tsegismont opened this issue Oct 8, 2020 · 1 comment · Fixed by #12616
Assignees
Labels
Milestone

Comments

@tsegismont
Copy link
Contributor

Describe the bug
Error handling does not work with blocking event bus consumers: @ConsumeEvent(blocking=true)

Expected behavior
If the consumer body throws an exception, the sender should get a ReplyException.

Actual behavior
The exception thrown by the consumer is reported to the uncaught exception handler.

To Reproduce

In MessageConsumerFailureTest, set all @ConsumeEvent annotations blocking attribute to true and run the test.
The test will fail.

@tsegismont tsegismont added the kind/bug Something isn't working label Oct 8, 2020
@cescoffier cescoffier self-assigned this Oct 9, 2020
@cescoffier
Copy link
Member

Thanks @tsegismont, I will have a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants