diff options
author | Matthew Sackman <matthew@rabbitmq.com> | 2010-10-08 15:48:35 +0100 |
---|---|---|
committer | Matthew Sackman <matthew@rabbitmq.com> | 2010-10-08 15:48:35 +0100 |
commit | 9f1bb370e9d46cf8b02bdf60f43700b4c1a80bed (patch) | |
tree | 60232a40e09143227f5c7b79d5e24aeae5ddfd16 /src/rabbit_exchange_type_fanout.erl | |
parent | 1d75b6173d1e5db5eb0e9027283ed60d819bfa95 (diff) | |
download | rabbitmq-server-9f1bb370e9d46cf8b02bdf60f43700b4c1a80bed.tar.gz |
XT:publish => XT:route
Diffstat (limited to 'src/rabbit_exchange_type_fanout.erl')
-rw-r--r-- | src/rabbit_exchange_type_fanout.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_exchange_type_fanout.erl b/src/rabbit_exchange_type_fanout.erl index 4dad9cdd..77ca9686 100644 --- a/src/rabbit_exchange_type_fanout.erl +++ b/src/rabbit_exchange_type_fanout.erl @@ -34,7 +34,7 @@ -behaviour(rabbit_exchange_type). --export([description/0, publish/2]). +-export([description/0, route/2]). -export([validate/1, create/1, recover/2, delete/2, add_binding/2, remove_bindings/2, assert_args_equivalence/2]). -include("rabbit_exchange_type_spec.hrl"). @@ -50,7 +50,7 @@ description() -> [{name, <<"fanout">>}, {description, <<"AMQP fanout exchange, as per the AMQP specification">>}]. -publish(#exchange{name = Name}, _Delivery) -> +route(#exchange{name = Name}, _Delivery) -> rabbit_router:match_routing_key(Name, '_'). validate(_X) -> ok. |