diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2012-06-25 18:05:51 +0100 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2012-06-25 18:05:51 +0100 |
commit | e47bbfb289a388826b35f0adb6ffadfadda5ea20 (patch) | |
tree | c491d69f9aa3e2ead3252da1850f8df6dc05491b | |
parent | 070390731eff798b8c518f418cdacd35afb5a293 (diff) | |
download | rabbitmq-server-e47bbfb289a388826b35f0adb6ffadfadda5ea20.tar.gz |
Explain this a bit.
-rw-r--r-- | src/rabbit_exchange_decorator.erl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/rabbit_exchange_decorator.erl b/src/rabbit_exchange_decorator.erl index bfb78201..b40ceda9 100644 --- a/src/rabbit_exchange_decorator.erl +++ b/src/rabbit_exchange_decorator.erl @@ -16,6 +16,16 @@ -module(rabbit_exchange_decorator). +%% This is like an exchange type except that: +%% +%% 1) It applies to all exchanges as soon as it is installed, therefore +%% 2) It is not allowed to affect validation, so no validate/1 or +%% assert_args_equivalence/2 +%% 3) It also can't affect routing +%% +%% It's possible in the future we might relax 3), or even make these +%% able to manipulate messages as they are published. + -ifdef(use_specs). -type(tx() :: 'transaction' | 'none'). |