Is there an in memory messaging broker for functional testing of RabbitMq? : <p>I need to write functional tests flows that involve interaction with RabbitMq. But once the tests are run I will have to clear any existing message in the queue. Since RabbitMq is persistent I need some in memory substitute for RabbitMq. Just like the way we have HSQL for databases.</p>

<p>I have tried using <code>qpid</code> broker but with no luck.</p>

<p>I am using spring boot framework. So I just need to inject the bean of the inmemory queue instead of actual rabbit mq.</p>
