diff options
Diffstat (limited to 'deps/rabbit_common/src/rabbit_exchange_decorator.erl')
-rw-r--r-- | deps/rabbit_common/src/rabbit_exchange_decorator.erl | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/deps/rabbit_common/src/rabbit_exchange_decorator.erl b/deps/rabbit_common/src/rabbit_exchange_decorator.erl index bf57b2aaeb..a43991b275 100644 --- a/deps/rabbit_common/src/rabbit_exchange_decorator.erl +++ b/deps/rabbit_common/src/rabbit_exchange_decorator.erl @@ -29,8 +29,6 @@ %% It's possible in the future we might make decorators %% able to manipulate messages as they are published. --ifdef(use_specs). - -type(tx() :: 'transaction' | 'none'). -type(serial() :: pos_integer() | tx()). @@ -69,19 +67,6 @@ %% none:no callbacks, noroute:all callbacks except route, all:all callbacks -callback active_for(rabbit_types:exchange()) -> 'none' | 'noroute' | 'all'. --else. - --export([behaviour_info/1]). - -behaviour_info(callbacks) -> - [{description, 0}, {serialise_events, 1}, {create, 2}, {delete, 3}, - {policy_changed, 2}, {add_binding, 3}, {remove_bindings, 3}, - {route, 2}, {active_for, 1}]; -behaviour_info(_Other) -> - undefined. - --endif. - %%---------------------------------------------------------------------------- %% select a subset of active decorators |