File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
core/spring-cloud-stream-test-binder/src/main
java/org/springframework/cloud/stream/binder/test
resources/META-INF/spring Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 20
20
import java .util .Arrays ;
21
21
import java .util .List ;
22
22
23
- import org .springframework .boot .autoconfigure .condition . ConditionalOnMissingBean ;
23
+ import org .springframework .boot .autoconfigure .AutoConfiguration ;
24
24
import org .springframework .boot .test .context .runner .ApplicationContextRunner ;
25
25
import org .springframework .cloud .stream .binder .Binder ;
26
26
import org .springframework .cloud .stream .binder .ConsumerProperties ;
27
27
import org .springframework .cloud .stream .binder .ProducerProperties ;
28
28
import org .springframework .cloud .stream .config .BinderFactoryAutoConfiguration ;
29
29
import org .springframework .cloud .stream .config .BindingServiceConfiguration ;
30
30
import org .springframework .context .annotation .Bean ;
31
- import org .springframework .context .annotation .Configuration ;
32
31
import org .springframework .context .annotation .Import ;
33
32
import org .springframework .integration .config .EnableIntegration ;
34
33
42
41
* @author David Turanski
43
42
* @see TestChannelBinder
44
43
*/
45
- @ Configuration
46
- @ ConditionalOnMissingBean (Binder .class )
44
+ @ AutoConfiguration
47
45
@ Import (BinderFactoryAutoConfiguration .class )
48
46
@ EnableIntegration
49
47
public class TestChannelBinderConfiguration <T > {
Original file line number Diff line number Diff line change
1
+ org.springframework.cloud.stream.binder.test.TestChannelBinderConfiguration
You can’t perform that action at this time.
0 commit comments