-
Notifications
You must be signed in to change notification settings - Fork 614
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
Add @EnableTestBinder annotation #2947
Add @EnableTestBinder annotation #2947
Conversation
import java.lang.annotation.Target; | ||
|
||
import org.springframework.context.annotation.Import; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add some class level javadoc to this?
@@ -518,7 +517,7 @@ void withMessageHeadersInputParameter() { | |||
} | |||
|
|||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need copyright updates, author tag.
@@ -591,13 +590,13 @@ private BindingServiceProperties createBindingServiceProperties( | |||
return bindingServiceProperties; | |||
} | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need copyright updates, author tag.
import org.springframework.context.annotation.Bean; | ||
import org.springframework.context.annotation.Import; | ||
import org.springframework.validation.annotation.Validated; | ||
|
||
import static org.assertj.core.api.Assertions.assertThat; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need copyright updates, author tag.
import org.springframework.context.ApplicationContext; | ||
import org.springframework.context.annotation.Bean; | ||
import org.springframework.context.annotation.Import; | ||
import org.springframework.retry.support.RetryTemplate; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need copyright updates, author tag.
@kutmk Could you also add some documentation in the reference docs for this? |
@sobychacko |
@EnableTestBinder
annotation to importTestChannelBinderConfiguration
for enabling TestBinder. This was decided in issue TestChannelBinder is exposed without including TestChannelBinderConfiguration #2931.@Import(TestChannelBinderConfiguration.class)
with@EnableTestBinder
in the tests.