My adaptation of the official sample, using a local in-memory QPid broker in place of RabbitMq. Running mvn clean package should run ApplicationTest with the right profile ("qpid") and be successful.