use of org.springframework.cloud.stream.binder.BinderTypeRegistry in project spring-cloud-stream by spring-cloud.
the class TestChannelBinderConfiguration method binderTypeRegistry.
@Bean
public BinderTypeRegistry binderTypeRegistry() {
BinderType binderType = new BinderType(NAME, new Class[] { TestChannelBinderConfiguration.class });
BinderTypeRegistry btr = new DefaultBinderTypeRegistry(Collections.singletonMap(NAME, binderType));
return btr;
}
Aggregations