Class ConsulBinderConfiguration
java.lang.Object
org.springframework.cloud.consul.binder.config.ConsulBinderConfiguration
@Configuration(proxyBeanMethods=false)
@ConditionalOnMissingBean(org.springframework.cloud.stream.binder.Binder.class)
@Import(org.springframework.boot.autoconfigure.context.PropertyPlaceholderAutoConfiguration.class)
@ConditionalOnProperty(name="spring.cloud.consul.binder.enabled",
matchIfMissing=true)
public class ConsulBinderConfiguration
extends Object
Configures the Consul binder.
- Author:
- Spencer Gibb
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconsulClientBinder(EventService eventService) eventService(org.springframework.cloud.consul.ConsulClient consulClient)
-
Field Details
-
objectMapper
@Autowired(required=false) protected tools.jackson.databind.ObjectMapper objectMapper
-
-
Constructor Details
-
ConsulBinderConfiguration
public ConsulBinderConfiguration()
-
-
Method Details
-
eventService
@Bean @ConditionalOnMissingBean public EventService eventService(org.springframework.cloud.consul.ConsulClient consulClient) -
consulClientBinder
-