Class BindingServiceConfiguration
java.lang.Object
org.springframework.cloud.stream.config.BindingServiceConfiguration
@AutoConfiguration
@EnableConfigurationProperties({BindingServiceProperties.class,SpringIntegrationProperties.class,StreamFunctionProperties.class})
@Import(SpelExpressionConverterConfiguration.class)
@Role(2)
@ConditionalOnBean(value=BinderTypeRegistry.class,
search=CURRENT)
public class BindingServiceConfiguration
extends Object
Configuration class that provides necessary beans for
MessageChannel
binding.- Author:
- Dave Syer, David Turanski, Marius Bogoevici, Ilayaperumal Gopinathan, Gary Russell, Vinicius Carvalho, Artem Bilan, Oleg Zhurakousky, Soby Chacko, Chris Bono
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
appListener
(SpringIntegrationProperties springIntegrationProperties) binderFactory
(BinderTypeRegistry binderTypeRegistry, BindingServiceProperties bindingServiceProperties, org.springframework.beans.factory.ObjectProvider<BinderCustomizer> binderCustomizerProvider, BinderChildContextInitializer binderChildContextInitializer) bindingService
(BindingServiceProperties bindingServiceProperties, BinderFactory binderFactory, org.springframework.scheduling.TaskScheduler taskScheduler, com.fasterxml.jackson.databind.ObjectMapper objectMapper) bindingsLifecycleController
(List<InputBindingLifecycle> inputBindingLifecycles, List<OutputBindingLifecycle> outputBindingsLifecycles) static org.springframework.beans.factory.config.BeanPostProcessor
inputBindingLifecycle
(BindingService bindingService, Map<String, Bindable> bindables) outputBindingLifecycle
(BindingService bindingService, Map<String, Bindable> bindables)
-
Constructor Details
-
BindingServiceConfiguration
public BindingServiceConfiguration()
-
-
Method Details
-
globalErrorChannelCustomizer
@Bean public static org.springframework.beans.factory.config.BeanPostProcessor globalErrorChannelCustomizer() -
BindingHandlerAdvise
@Bean public BindingHandlerAdvise BindingHandlerAdvise(@Nullable BindingHandlerAdvise.MappingsProvider[] providers) -
binderFactory
@Bean @ConditionalOnMissingBean(BinderFactory.class) public DefaultBinderFactory binderFactory(BinderTypeRegistry binderTypeRegistry, BindingServiceProperties bindingServiceProperties, org.springframework.beans.factory.ObjectProvider<BinderCustomizer> binderCustomizerProvider, BinderChildContextInitializer binderChildContextInitializer) -
binderChildContextInitializer
-
bindingService
@Bean @ConditionalOnMissingBean(search=CURRENT) public BindingService bindingService(BindingServiceProperties bindingServiceProperties, BinderFactory binderFactory, org.springframework.scheduling.TaskScheduler taskScheduler, @Nullable com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
outputBindingLifecycle
@Bean @DependsOn("bindingService") public OutputBindingLifecycle outputBindingLifecycle(BindingService bindingService, Map<String, Bindable> bindables) -
inputBindingLifecycle
@Bean @DependsOn("bindingService") public InputBindingLifecycle inputBindingLifecycle(BindingService bindingService, Map<String, Bindable> bindables) -
bindingsLifecycleController
@Bean public BindingsLifecycleController bindingsLifecycleController(List<InputBindingLifecycle> inputBindingLifecycles, List<OutputBindingLifecycle> outputBindingsLifecycles) -
contextStartAfterRefreshListener
@Bean @DependsOn("bindingService") public ContextStartAfterRefreshListener contextStartAfterRefreshListener() -
dynamicDestinationsBindable
-
appListener
@Bean public org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent> appListener(SpringIntegrationProperties springIntegrationProperties)
-