send connection.{blocked,unblocked}
merge default into bug25191
and some tiny refactoring
Merge default
Don't wipe the slate clean each time we get a conserve_resources message.
We can end up hearing about a reason we have already heard about, because rabbit_alarm *both* returns them from register() and immediately calls the MFA during register(). Tests now pass.
Quick and dirty hooks for federated queues.
Only consume if we are empty.
Distinguish between federated consumers and others.
Rename this
Tell the federated queue about basic.get.
Make sure we update the federation state when a consumer becomes inactive or is cancelled.
If we have local active consumers, ignore federated ones.
fix types
(transplanted from eec14a745dd738a98cfb83e86a2b077d4280e314)
Merge in default
Inform fed queues of policy change and termination, and abstract startup a bit more.
merge default into bug25191
Put sample config in the broker repository root
Merge default into bug25191
Don't crash when an alarm is cleared when there's nothing to clear
Make sure set_alarm is idempotent

By making sure alarms list is unique.