rabbitmq交换机注释修改
This commit is contained in:
parent
f8f4832260
commit
5e6965102d
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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<>();
|
||||
|
|
|
|||
Loading…
Reference in New Issue