@Configuration(proxyBeanMethods=false) @ConditionalOnMissingBean(value=org.springframework.cloud.stream.binder.Binder.class) @ConditionalOnBean(value={PubSubAdmin.class,PubSubTemplate.class}) @ConditionalOnProperty(value="spring.cloud.gcp.pubsub.binder.enabled", matchIfMissing=true) @EnableConfigurationProperties(value=PubSubExtendedBindingProperties.class) public class PubSubBinderConfiguration extends Object
Constructor and Description |
---|
PubSubBinderConfiguration() |
Modifier and Type | Method and Description |
---|---|
PubSubMessageChannelBinder |
pubSubBinder(PubSubChannelProvisioner pubSubChannelProvisioner,
PubSubTemplate pubSubTemplate,
PubSubExtendedBindingProperties pubSubExtendedBindingProperties,
org.springframework.cloud.stream.config.ProducerMessageHandlerCustomizer<PubSubMessageHandler> producerCustomizer,
org.springframework.cloud.stream.config.ConsumerEndpointCustomizer<PubSubInboundChannelAdapter> consumerCustomizer,
HealthTrackerRegistry healthTrackerRegistry) |
PubSubChannelProvisioner |
pubSubChannelProvisioner(PubSubAdmin pubSubAdmin) |
org.springframework.cloud.stream.config.BindingHandlerAdvise.MappingsProvider |
pubSubExtendedPropertiesDefaultMappingsProvider() |
@Bean public PubSubChannelProvisioner pubSubChannelProvisioner(PubSubAdmin pubSubAdmin)
@Bean public PubSubMessageChannelBinder pubSubBinder(PubSubChannelProvisioner pubSubChannelProvisioner, PubSubTemplate pubSubTemplate, PubSubExtendedBindingProperties pubSubExtendedBindingProperties, @Nullable org.springframework.cloud.stream.config.ProducerMessageHandlerCustomizer<PubSubMessageHandler> producerCustomizer, @Nullable org.springframework.cloud.stream.config.ConsumerEndpointCustomizer<PubSubInboundChannelAdapter> consumerCustomizer, @Nullable HealthTrackerRegistry healthTrackerRegistry)
@Bean public org.springframework.cloud.stream.config.BindingHandlerAdvise.MappingsProvider pubSubExtendedPropertiesDefaultMappingsProvider()
Copyright © 2021. All rights reserved.