Configure AE by policy.
Reinstate optimisations, plus a bit of abstraction. This entails an API change in the return type of rabbit_policy:get/2.
Oops
Dead lettering by policy.
Oops
Merge in default
Hook TTL / max length / expiry into policy system.
Fix removal of DLX policy
Merge in bug25748
Allow use of the new policies.
Expires cannot be 0.
Version TTL and expiry messages, and ignore the wrong ones. Also stop timers and then start them again when re-initing.
That "optimisation" is actually buggy since table_lookup/2 returns a 2-tuple on success. And by the time you correct for that you realise it's not even an optimisation any more.
Merged bug25749 into default