First hack at recovering consumers.
Oops
Rename variable (and catch a case I missed before).
Abstract the waiting into rabbit_amqqueue.
Attempt at error checking the basic.consume.
rabbit_amqqueue:basic_consume() will wait for recovery anyway, we don't need a special function for that.
Add a comment, and rename the thing to correspond more with words we use already.
Swap the default value for cancel-on-ha-failover.
Our other consumer arg has an x- on it. Also, let's validate.
Oops
Monitor consuming queue regardless of whether the consumer is CCN capable, only decide whether to send the CCN on that basis.
Merge bug26070