Skip to content

Instantly share code, notes, and snippets.

@jamescarr
Created March 27, 2012 16:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamescarr/61a55a37e9c2e77d1797 to your computer and use it in GitHub Desktop.
Save jamescarr/61a55a37e9c2e77d1797 to your computer and use it in GitHub Desktop.
[
{rabbit, [
{cluster_nodes, ['rabbit@dc2rabbitmq3', 'rabbit@dc2rabbitmq4', 'rabbit@dc2rabbitmq5', 'rabbit@dc2rabbitmq6']}
]},
{rabbitmq_federation,
[ {exchanges, [[{exchange, "usage"},
{virtual_host, "/"},
{type, "topic"},
{durable, true},
{auto_delete, false},
{internal, false},
{upstream_set, "remotes"}]
]},
{upstream_sets, [{"remotes", [
[{connection, "dc2tcserver1"},
{exchange, "usage"},
{max_hops, 5}],
[{connection, "dc2tcserver2"},
{exchange, "usage"},
{max_hops, 5}]]}]},
{connections, [
{"dc2tcserver1", [
{host, "dc2tcserver1"},
{ha_policy, "all"}]
},
{"dc2tcserver2", [
{host, "dc2tcserver2"},
{ha_policy, "all"}]
}]},
{local_nodename, "messaging_pod"}
]}
].
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment