diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2011-05-20 18:15:24 +0100 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2011-05-20 18:15:24 +0100 |
commit | bdc6a0cc4f499ed9d63fa66155c367faf2ea2732 (patch) | |
tree | 5415274ae8571b327c772767d02e4b620545c340 /src/rabbit_vhost.erl | |
parent | 6087e31872aa8a03283ceef3bc8e03774bf54200 (diff) | |
download | rabbitmq-server-bdc6a0cc4f499ed9d63fa66155c367faf2ea2732.tar.gz |
Switch to hard coding the exchange name.
Diffstat (limited to 'src/rabbit_vhost.erl')
-rw-r--r-- | src/rabbit_vhost.erl | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/rabbit_vhost.erl b/src/rabbit_vhost.erl index 24c130ed..67c73cf2 100644 --- a/src/rabbit_vhost.erl +++ b/src/rabbit_vhost.erl @@ -51,12 +51,13 @@ add(VHostPath) -> rabbit_misc:r(VHostPath, exchange, Name), Type, true, false, false, []) || {Name,Type} <- - [{<<"">>, direct}, - {<<"amq.direct">>, direct}, - {<<"amq.topic">>, topic}, - {<<"amq.match">>, headers}, %% per 0-9-1 pdf - {<<"amq.headers">>, headers}, %% per 0-9-1 xml - {<<"amq.fanout">>, fanout}]], + [{<<"">>, direct}, + {<<"amq.direct">>, direct}, + {<<"amq.topic">>, topic}, + {<<"amq.match">>, headers}, %% per 0-9-1 pdf + {<<"amq.headers">>, headers}, %% per 0-9-1 xml + {<<"amq.fanout">>, fanout}, + {<<"amq.rabbitmq.trace">>, topic}]], ok end), rabbit_log:info("Added vhost ~p~n", [VHostPath]), |