Integration tests with RabbitMQ

倖福魔咒の 提交于 2019-12-11 08:07:27

问题


Currently i'm working on some Spring Boot 2.x application interacting w/ RabbitMQ. I'd like to create an integration test to test the whole app. logic, including interaction w/ Rabbit. So far i need a light-weight stand-alone implementation of AMQP standart to make Spring Boot work w/ it, including sending & receiving messages. I had a look at Qpid sample here but it needs RabbitMQ running somewhere what is not very good for my IT. Are there some another mature light-weight stand-alone AMQP implementations?

Thanx in advance for any assist.


回答1:


From Gary Russel comment:

I got it working ok with QPID 6.1.6 while answering this question. I never figured out how to launch a 7.0.x embedded broker. I put the project for that answer in my sandbox.



来源:https://stackoverflow.com/questions/51345844/integration-tests-with-rabbitmq

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!