@Configuration @EnableConfigurationProperties(value=RocketProperties.class) public class RocketConfiguration extends Object
| Constructor and Description |
|---|
RocketConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
com.aliyun.mq.http.MQClient |
mqClient() |
RocketProcessor |
rocketProcessor(com.aliyun.mq.http.MQClient mqClient) |
RocketTemplate |
rocketTemplate(com.aliyun.mq.http.MQClient mqClient) |
@Bean public com.aliyun.mq.http.MQClient mqClient()
@Bean @ConditionalOnBean(value=com.aliyun.mq.http.MQClient.class) public RocketTemplate rocketTemplate(com.aliyun.mq.http.MQClient mqClient)
@Bean @ConditionalOnBean(value=com.aliyun.mq.http.MQClient.class) public RocketProcessor rocketProcessor(com.aliyun.mq.http.MQClient mqClient)
Copyright © 2021. All rights reserved.