mikehadlow/EasyNetQ — pull request #170 by Pliner (2014-03-05 18:46:12+00:00)
Title: Exclusive consumer

Hi!

It's an implementation of exclusive consumer.

Unfortunately, RabbitMQ has no such functionality like this http://activemq.apache.org/exclusive-consumer/, but I think it's really usable.

So, now, if you try to twicely subscribe with exclusive flag, one of subcription will die with exception.

How you think, is it possible to emulate such functionality in easynetq? I mean awaiting of successful subscription when eclusive flag is set. We have an example of this scenario, when publishing to external system(billing) and we really care about ordering(if order will break, somebody can pay with wrong requisited) and failover(if consumer will die, nobody can pay for service).