rabbitmq交换机注释修改

This commit is contained in:
xiaoyu 2021-07-05 10:34:19 +08:00
parent f8f4832260
commit 5e6965102d
3 changed files with 4 additions and 4 deletions

View File

@ -63,13 +63,13 @@ public class RabbitMqConfig {
return new Queue(CS.MQ.QUEUE_MODIFY_MCH_USER_REMOVE,true);
}
//Fanout交换机 起名fanoutExchange
//创建 fanout 交换机
@Bean("fanoutExchange")
FanoutExchange fanoutExchange() {
return new FanoutExchange(CS.FANOUT_EXCHANGE_SYS_CONFIG,true,false);
}
//交换机 起名directExchange
//创建 direct 交换机
@Bean("directExchange")
DirectExchange directExchange() {
return new DirectExchange(CS.DIRECT_EXCHANGE,true,false);

View File

@ -44,7 +44,7 @@ public class RabbitMqConfig {
return new Queue(CS.MQ.TOPIC_MODIFY_MCH_APP,true);
}
//交换机 起名directExchange
//创建 direct 交换机
@Bean("directExchange")
DirectExchange directExchange() {
return new DirectExchange(CS.DIRECT_EXCHANGE,true,false);

View File

@ -46,7 +46,7 @@ public class RabbitMqConfig {
return new Queue(CS.MQ.QUEUE_PAYORDER_MCH_NOTIFY,true);
}
//Topic交换机 起名testDirectExchange
//创建 custom 交换机
@Bean
CustomExchange customExchange() {
Map<String, Object> args = new HashMap<>();