Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Jeepay
Commits
5e696510
Commit
5e696510
authored
Jul 05, 2021
by
xiaoyu
Browse files
rabbitmq交换机注释修改
parent
f8f48322
Changes
3
Hide whitespace changes
Inline
Side-by-side
jeepay-manager/src/main/java/com/jeequan/jeepay/mgr/mq/config/RabbitMqConfig.java
View file @
5e696510
...
...
@@ -63,13 +63,13 @@ public class RabbitMqConfig {
return
new
Queue
(
CS
.
MQ
.
QUEUE_MODIFY_MCH_USER_REMOVE
,
true
);
}
//
F
anout交换机
起名:fanoutExchange
//
创建 f
anout
交换机
@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
);
...
...
jeepay-merchant/src/main/java/com/jeequan/jeepay/mch/mq/config/RabbitMqConfig.java
View file @
5e696510
...
...
@@ -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
);
...
...
jeepay-payment/src/main/java/com/jeequan/jeepay/pay/mq/config/RabbitMqConfig.java
View file @
5e696510
...
...
@@ -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
<>();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment