docs(RabbitConfig): 注释优化

This commit is contained in:
郝先瑞 2022-05-17 21:47:16 +08:00
parent 86d297b372
commit 4996d1a502

View File

@ -21,12 +21,8 @@ import org.springframework.context.annotation.Configuration;
@Slf4j
public class RabbitConfig {
/**
* 消息序列化配置
*
* @param connectionFactory
* @return
*/
@Bean
public RabbitListenerContainerFactory<?> rabbitListenerContainerFactory(ConnectionFactory connectionFactory) {
@ -36,10 +32,8 @@ public class RabbitConfig {
return factory;
}
/*
/**
* 动态创建队列交换机初始化器
*
* @return
*/
@Bean
@ConditionalOnMissingBean