@Configuration(proxyBeanMethods=false)
@ConditionalOnMissingBean(value=org.springframework.cloud.stream.binder.Binder.class)
@Import(value=org.springframework.boot.autoconfigure.context.PropertyPlaceholderAutoConfiguration.class)
@ConditionalOnProperty(name="spring.cloud.consul.binder.enabled",
matchIfMissing=true)
public class ConsulBinderConfiguration
extends Object
| Modifier and Type | Field and Description |
|---|---|
protected com.fasterxml.jackson.databind.ObjectMapper |
objectMapper |
| Constructor and Description |
|---|
ConsulBinderConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
ConsulBinder |
consulClientBinder(EventService eventService) |
EventService |
eventService(com.ecwid.consul.v1.ConsulClient consulClient) |
@Autowired(required=false) protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
@Bean @ConditionalOnMissingBean public EventService eventService(com.ecwid.consul.v1.ConsulClient consulClient)
@Bean @ConditionalOnMissingBean public ConsulBinder consulClientBinder(EventService eventService)
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.