I am trying to create integration test for a Scala / Java application that connects to a RabbitMQ broker. To achieve this I would like an embedded broker that speaks AMQP that I start and stop before each test. Originally I tried to introduce ActiveMQ as an embedded broker with AMQP however the application uses RabbitMQ so only speaks AMQP version 0.9.3 whereas ActiveMQ requires AMQP version 1.0.
Is there another embedded broker I can use in place of ActiveMQ?
A completely in-memory solution. Replace the
spring.*
properties as required.Add
initial-config.json
as a resource: