diff options
author | Alexandru Scvortov <alexandru@rabbitmq.com> | 2010-10-18 16:10:10 +0100 |
---|---|---|
committer | Alexandru Scvortov <alexandru@rabbitmq.com> | 2010-10-18 16:10:10 +0100 |
commit | dd6702a9dffd892921b8260c346097485fd671f2 (patch) | |
tree | 169f49cecbaa6012eba1a56a189cb6894819311d /include | |
parent | 28f49c60d863c5a8a146b5b7a476d2919d558442 (diff) | |
parent | 8c21276b4c97d4be3060f2195e75d80364fa93ea (diff) | |
download | rabbitmq-server-dd6702a9dffd892921b8260c346097485fd671f2.tar.gz |
merge default into bug23319bug23319
Diffstat (limited to 'include')
-rw-r--r-- | include/rabbit.hrl | 4 | ||||
-rw-r--r-- | include/rabbit_exchange_type_spec.hrl | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl index 7661e34c..28e3925d 100644 --- a/include/rabbit.hrl +++ b/include/rabbit.hrl @@ -60,8 +60,8 @@ -record(route, {binding, value = const}). -record(reverse_route, {reverse_binding, value = const}). --record(binding, {exchange_name, key, queue_name, args = []}). --record(reverse_binding, {queue_name, key, exchange_name, args = []}). +-record(binding, {source, key, destination, args = []}). +-record(reverse_binding, {destination, key, source, args = []}). -record(listener, {node, protocol, host, port}). diff --git a/include/rabbit_exchange_type_spec.hrl b/include/rabbit_exchange_type_spec.hrl index cecd666b..ae326a87 100644 --- a/include/rabbit_exchange_type_spec.hrl +++ b/include/rabbit_exchange_type_spec.hrl @@ -31,8 +31,8 @@ -ifdef(use_specs). -spec(description/0 :: () -> [{atom(), any()}]). --spec(publish/2 :: (rabbit_types:exchange(), rabbit_types:delivery()) - -> {rabbit_router:routing_result(), [pid()]}). +-spec(route/2 :: (rabbit_types:exchange(), rabbit_types:delivery()) + -> rabbit_router:match_result()). -spec(validate/1 :: (rabbit_types:exchange()) -> 'ok'). -spec(create/1 :: (rabbit_types:exchange()) -> 'ok'). -spec(recover/2 :: (rabbit_types:exchange(), |