summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2012-05-18 10:51:33 +0100
committerSimon MacMullen <simon@rabbitmq.com>2012-05-18 10:51:33 +0100
commit975aa1d925d16b2c2c1920e28d53f84a200d7711 (patch)
tree6b17180aac483ce763fb8b7809bfa268824d5f98 /src
parent119fdcd4ce38fec31d6e2f50d349458d876a3392 (diff)
downloadrabbitmq-server-git-975aa1d925d16b2c2c1920e28d53f84a200d7711.tar.gz
Remove decorator:route/2.
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_exchange_decorator.erl10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/rabbit_exchange_decorator.erl b/src/rabbit_exchange_decorator.erl
index b8583c822c..bfb782012e 100644
--- a/src/rabbit_exchange_decorator.erl
+++ b/src/rabbit_exchange_decorator.erl
@@ -29,11 +29,6 @@
%% serial number).
-callback serialise_events(rabbit_types:exchange()) -> boolean().
-%% The no_return is there so that we can have an "invalid" exchange
-%% type (see rabbit_exchange_type_invalid).
--callback route(rabbit_types:exchange(), rabbit_types:delivery()) ->
- rabbit_router:match_result().
-
%% called after declaration and recovery
-callback create(tx(), rabbit_types:exchange()) -> 'ok'.
@@ -58,9 +53,8 @@
-export([behaviour_info/1]).
behaviour_info(callbacks) ->
- [{description, 0}, {serialise_events, 1}, {route, 2},
- {create, 2}, {delete, 3}, {add_binding, 3}, {remove_bindings, 3},
- {policy_changed, 3}];
+ [{description, 0}, {serialise_events, 1}, {create, 2}, {delete, 3},
+ {add_binding, 3}, {remove_bindings, 3}, {policy_changed, 3}];
behaviour_info(_Other) ->
undefined.