Provide a means to reset/rebuild the dispatch configuration at runtime
Use rabbit_event to detect extension changes
Oops - get the precedence right when filtering behaviours
Remove debug/logging
Get rid of unnecessary app filtering when finding extensions
Inline app_utils:app_modules/1
Unbreak the management plugin.
Merge default
Simplify / clean up.
Further simplification; only invoke reset_dispatcher() if we know mgmt is still running.
Perhaps easier to read.
Don't supervise the calling process, even on default that makes little sense and here it means we end up removing the handler when rabbitmq_plugins exits.
Add cleanup step
Don't put modules we are about to disable into the dispatcher.
Merge bug 24926