diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2011-04-01 16:48:09 +0100 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2011-04-01 16:48:09 +0100 |
commit | c9990f38f58ed8101d83e6e5c527275761aa7a1a (patch) | |
tree | 2a5e076cc10a53444aa32f12c9406ad5f48023ca /src/rabbit_exchange_type_topic.erl | |
parent | 3da0764b6482d711bff0faca201fc5851543ad81 (diff) | |
download | rabbitmq-server-c9990f38f58ed8101d83e6e5c527275761aa7a1a.tar.gz |
QAish updates.
Diffstat (limited to 'src/rabbit_exchange_type_topic.erl')
-rw-r--r-- | src/rabbit_exchange_type_topic.erl | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/rabbit_exchange_type_topic.erl b/src/rabbit_exchange_type_topic.erl index 52f468ee..efa5fb52 100644 --- a/src/rabbit_exchange_type_topic.erl +++ b/src/rabbit_exchange_type_topic.erl @@ -21,7 +21,7 @@ -behaviour(rabbit_exchange_type). -export([description/0, route/2]). --export([validate/1, start/3, delete/3, add_bindings/3, +-export([validate/1, create/2, delete/3, add_bindings/3, remove_bindings/3, assert_args_equivalence/2]). -include("rabbit_exchange_type_spec.hrl"). @@ -48,12 +48,7 @@ route(#exchange{name = X}, validate(_X) -> ok. -start(true, _X, Bs) -> - rabbit_misc:execute_mnesia_transaction( - fun () -> - lists:foreach(fun (B) -> internal_add_binding(B) end, Bs) - end); -start(false, _X, _Bs) -> +create(_Tx, _X) -> ok. delete(true, #exchange{name = X}, _Bs) -> |