@Configuration @ConditionalOnMissingBean(value=org.springframework.cloud.stream.binder.Binder.class) @Import(value=org.springframework.boot.autoconfigure.PropertyPlaceholderAutoConfiguration.class) @EnableConfigurationProperties(value=ConsulBinderProperties.class) 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 © 2016 Pivotal Software, Inc.. All rights reserved.