Skip to content

Conversation

@ngocnhan-tran1996
Copy link
Contributor

No description provided.

Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
Copy link
Member

@artembilan artembilan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one minor nit-pick.
Thank you!

assertThat(ex.getCause().getMessage()).isEqualTo("from error handler");
assertThat(ex.getCause().getCause().getMessage()).isEqualTo("return this");
EnableRabbitConfig config = this.context.getBean(EnableRabbitConfig.class);
assertThat(config.errorHandlerChannel).isNotNull();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think these two last lines could be outside of the exception assertion scope.

@artembilan artembilan added this to the 4.0.0-M3 milestone Jul 16, 2025
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
@artembilan artembilan merged commit 15a6321 into spring-projects:main Jul 16, 2025
3 checks passed
@ngocnhan-tran1996 ngocnhan-tran1996 deleted the polish branch July 17, 2025 02:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants