File: rabbit-test.config

package info (click to toggle)
rabbitmq-server 2.8.4-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 8,928 kB
  • sloc: erlang: 52,968; python: 2,846; xml: 1,987; sh: 816; makefile: 683; perl: 86; ruby: 63
file content (24 lines) | stat: -rw-r--r-- 1,203 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
%% -*- erlang -*-
[{rabbitmq_federation,
  [{exchanges, [[{exchange,     "down-conf"},
                 {virtual_host, "/"},
                 {type,         "topic"},
                 {upstream_set, "up-conf"}]]},
   {upstream_sets,
    [{"up-conf",      [[{connection, "localhost"}, {exchange, "up-conf"}]]},
     {"upstream",     [[{connection, "localhost"}, {exchange, "upstream"}]]},
     {"upstream12",   [[{connection, "localhost"}, {exchange, "upstream"}],
                       [{connection, "localhost"}, {exchange, "upstream2"}]]},
     {"one",          [[{connection, "localhost"}, {exchange, "one"}]]},
     {"two",          [[{connection, "localhost"}, {exchange, "two"}]]},
     {"upstream5673", [[{connection, "local5673"}, {exchange, "upstream"}]]},
     {"no-conn",   [[{exchange,   "upstream"}]]},
     {"bad-conn",  [[{connection, "does-not-exist"}, {exchange, "upstream"}]]},
     {"bad-host",  [[{connection, "bad-host"},       {exchange, "upstream"}]]}
    ]},
   {connections, [{"localhost", [{host, "localhost"}]},
                  {"local5673", [{host, "localhost"}, {port, 5673}]},
                  {"bad-host",  [{host_what_host, "localhost"}]}
                 ]}
  ]}
].