[rabbitmq-discuss] How to test Consumer failure(durability) scenario in RabbitMQ?

Michael Klishin mklishin at gopivotal.com
Thu Oct 17 14:21:59 BST 2013


On 17 Oct 2013, at 17:16, Rajasekhar P <sekhar434145 at gmail.com> wrote:

> Here, I am struck with how to test this case? can you please share me consumer code?

Can we take a step back and clarify what will the test verify?

If you want to test that messages are requeued, create a custom consumer that closes its channel
and stops, for example. But this particular aspect is already tested in RabbitMQ server and Java client
suites.

MK





More information about the rabbitmq-discuss mailing list