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
wwwanlingxiao
mall
Commits
2bc0bea2
Commit
2bc0bea2
authored
Jun 22, 2022
by
macro
Browse files
消息队列配置优化
parent
c52fd274
Changes
1
Hide whitespace changes
Inline
Side-by-side
mall-portal/src/main/java/com/macro/mall/portal/config/RabbitMqConfig.java
View file @
2bc0bea2
...
...
@@ -17,7 +17,7 @@ public class RabbitMqConfig {
*/
@Bean
DirectExchange
orderDirect
()
{
return
(
DirectExchange
)
ExchangeBuilder
return
ExchangeBuilder
.
directExchange
(
QueueEnum
.
QUEUE_ORDER_CANCEL
.
getExchange
())
.
durable
(
true
)
.
build
();
...
...
@@ -28,7 +28,7 @@ public class RabbitMqConfig {
*/
@Bean
DirectExchange
orderTtlDirect
()
{
return
(
DirectExchange
)
ExchangeBuilder
return
ExchangeBuilder
.
directExchange
(
QueueEnum
.
QUEUE_TTL_ORDER_CANCEL
.
getExchange
())
.
durable
(
true
)
.
build
();
...
...
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