Skip to content

Commit

Permalink
Enable AutoConfiguration of TestChannelBinderConfiguration
Browse files Browse the repository at this point in the history
  • Loading branch information
kutmk committed Feb 13, 2024
1 parent e5ab77e commit 2b9ac16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,14 @@
import java.util.Arrays;
import java.util.List;

import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.boot.test.context.runner.ApplicationContextRunner;
import org.springframework.cloud.stream.binder.Binder;
import org.springframework.cloud.stream.binder.ConsumerProperties;
import org.springframework.cloud.stream.binder.ProducerProperties;
import org.springframework.cloud.stream.config.BinderFactoryAutoConfiguration;
import org.springframework.cloud.stream.config.BindingServiceConfiguration;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.integration.config.EnableIntegration;

Expand All @@ -42,8 +41,7 @@
* @author David Turanski
* @see TestChannelBinder
*/
@Configuration
@ConditionalOnMissingBean(Binder.class)
@AutoConfiguration
@Import(BinderFactoryAutoConfiguration.class)
@EnableIntegration
public class TestChannelBinderConfiguration<T> {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
org.springframework.cloud.stream.binder.test.TestChannelBinderConfiguration

0 comments on commit 2b9ac16

Please sign in to comment.