@Configuration @EnableConfigurationProperties(value=WavefrontConsumerProperties.class) @Import(value=org.springframework.boot.autoconfigure.web.client.RestTemplateAutoConfiguration.class) public class WavefrontConsumerConfiguration extends Object
Constructor and Description |
---|
WavefrontConsumerConfiguration() |
Modifier and Type | Method and Description |
---|---|
Consumer<org.springframework.messaging.Message<?>> |
wavefrontConsumer(WavefrontConsumerProperties properties,
WavefrontService service) |
WavefrontService |
wavefrontService(WavefrontConsumerProperties properties,
org.springframework.boot.web.client.RestTemplateBuilder restTemplateBuilder) |
@Bean public Consumer<org.springframework.messaging.Message<?>> wavefrontConsumer(WavefrontConsumerProperties properties, WavefrontService service)
@Bean public WavefrontService wavefrontService(WavefrontConsumerProperties properties, org.springframework.boot.web.client.RestTemplateBuilder restTemplateBuilder)
Copyright © 2022. All rights reserved.