mirror of
https://gitee.com/youlaitech/youlai-mall.git
synced 2024-12-23 05:00:25 +08:00
docs(RabbitConfig): 注释优化
This commit is contained in:
parent
86d297b372
commit
4996d1a502
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user