@Configuration(proxyBeanMethods=false) @EnableConfigurationProperties(value={BindingServiceProperties.class,SpringIntegrationProperties.class,StreamFunctionProperties.class}) @Import(value={DestinationPublishingMetricsAutoConfiguration.class,SpelExpressionConverterConfiguration.class}) @Role(value=2) @ConditionalOnBean(value=BinderTypeRegistry.class, search=CURRENT) public class BindingServiceConfiguration extends Object
MessageChannel
binding.Modifier and Type | Field and Description |
---|---|
static String |
STREAM_LISTENER_ANNOTATION_BEAN_POST_PROCESSOR_NAME
Name of the Spring Cloud Stream stream listener annotation bean post processor.
|
Constructor and Description |
---|
BindingServiceConfiguration() |
public static final String STREAM_LISTENER_ANNOTATION_BEAN_POST_PROCESSOR_NAME
@Bean public static org.springframework.beans.factory.config.BeanPostProcessor globalErrorChannelCustomizer()
@Bean(name="streamListenerAnnotationBeanPostProcessor") @ConditionalOnMissingBean(search=CURRENT) public static StreamListenerAnnotationBeanPostProcessor streamListenerAnnotationBeanPostProcessor()
@Bean public BindingHandlerAdvise BindingHandlerAdvise(@Nullable BindingHandlerAdvise.MappingsProvider[] providers)
@Bean @ConditionalOnMissingBean(value=BinderFactory.class) public BinderFactory binderFactory(BinderTypeRegistry binderTypeRegistry, BindingServiceProperties bindingServiceProperties, org.springframework.beans.factory.ObjectProvider<BinderCustomizer> binderCustomizerProvider)
@Bean public MessageChannelStreamListenerResultAdapter messageChannelStreamListenerResultAdapter()
@Bean @ConditionalOnMissingBean(search=CURRENT) public BindingService bindingService(BindingServiceProperties bindingServiceProperties, BinderFactory binderFactory, org.springframework.scheduling.TaskScheduler taskScheduler, @Nullable com.fasterxml.jackson.databind.ObjectMapper objectMapper)
@Bean @DependsOn(value="bindingService") public OutputBindingLifecycle outputBindingLifecycle(BindingService bindingService, Map<String,Bindable> bindables)
@Bean @DependsOn(value="bindingService") public InputBindingLifecycle inputBindingLifecycle(BindingService bindingService, Map<String,Bindable> bindables)
@Bean public BindingsLifecycleController bindingsLifecycleController(List<InputBindingLifecycle> inputBindingLifecycles, List<OutputBindingLifecycle> outputBindingsLifecycles)
@Bean @DependsOn(value="bindingService") public ContextStartAfterRefreshListener contextStartAfterRefreshListener()
@Bean public BinderAwareChannelResolver binderAwareChannelResolver(BindingService bindingService, AbstractBindingTargetFactory<? extends org.springframework.messaging.MessageChannel> bindingTargetFactory, DynamicDestinationsBindable dynamicDestinationsBindable, @Nullable BinderAwareChannelResolver.NewDestinationBindingCallback callback)
@Bean public DynamicDestinationsBindable dynamicDestinationsBindable()
@Bean @ConditionalOnMissingBean public BinderAwareRouter binderAwareRouterBeanPostProcessor(@Autowired(required=false) List<org.springframework.integration.router.AbstractMappingMessageRouter> routers, @Autowired(required=false) @Qualifier(value="binderAwareChannelResolver") org.springframework.messaging.core.DestinationResolver<org.springframework.messaging.MessageChannel> channelResolver)
@Bean public org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent> appListener(SpringIntegrationProperties springIntegrationProperties)
Copyright © 2023 Pivotal Software, Inc.. All rights reserved.