Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mall-v2分支的订单服务问题 #9

Open
bestming opened this issue Nov 2, 2020 · 4 comments
Open

mall-v2分支的订单服务问题 #9

bestming opened this issue Nov 2, 2020 · 4 comments

Comments

@bestming
Copy link

bestming commented Nov 2, 2020

订单服务无法启动,报错信息:org.springframework.amqp.rabbit.listener.exception.FatalListenerStartupException: Mismatched queues

百度了半天也解决不了,求大佬指教。你是在nacos注册中心设置了额外的配置文件吗?

@1046762075
Copy link
Owner

1046762075 commented Nov 2, 2020 via email

@1046762075
Copy link
Owner

1046762075 commented Nov 2, 2020 via email

@bestming
Copy link
Author

bestming commented Nov 3, 2020

搞了个另类的解决方法:
第一:rabbitMQ新建一个:mall-queue 队列
第二,注释掉arguments.put("x-message-ttl", ttl);
第三,启动订单服务。
第四,取消注释arguments.put("x-message-ttl", ttl);
第五,重启订单服务。

@1046762075
Copy link
Owner

1046762075 commented Nov 3, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants