diff options
author | Tony Garnock-Jones <tonyg@kcbbs.gen.nz> | 2009-01-15 16:51:58 +1300 |
---|---|---|
committer | Tony Garnock-Jones <tonyg@kcbbs.gen.nz> | 2009-01-15 16:51:58 +1300 |
commit | 99a94debffc6fc924a6fec58c92b461959ad653d (patch) | |
tree | 3135171ecdcca6978a51fe43155185ac5ebf89fc /src/rabbit_access_control.erl | |
parent | 100a9502fac186848d47cf51c11cbb4a72d63cd5 (diff) | |
download | rabbitmq-server-99a94debffc6fc924a6fec58c92b461959ad653d.tar.gz |
The PDF requires amq.match. The XML requires amq.headers. Create both.
Diffstat (limited to 'src/rabbit_access_control.erl')
-rw-r--r-- | src/rabbit_access_control.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rabbit_access_control.erl b/src/rabbit_access_control.erl index e2d96c71..36270efd 100644 --- a/src/rabbit_access_control.erl +++ b/src/rabbit_access_control.erl @@ -186,7 +186,8 @@ add_vhost(VHostPath) -> [{<<"">>, direct}, {<<"amq.direct">>, direct}, {<<"amq.topic">>, topic}, - {<<"amq.match">>, headers}, + {<<"amq.match">>, headers}, %% per 0-9-1 pdf + {<<"amq.headers">>, headers}, %% per 0-9-1 xml {<<"amq.fanout">>, fanout}]], ok; [_] -> |