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 | 8b5585b1bdda0e07afe8bc2029d14a23cccfb19c (patch) | |
| tree | c491d69f9aa3e2ead3252da1850f8df6dc05491b | |
| parent | 74306f9bb5b1c6132402b724dced28379c24c8d5 (diff) | |
| download | rabbitmq-server-git-8b5585b1bdda0e07afe8bc2029d14a23cccfb19c.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 bfb782012e..b40ceda918 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'). |
