Skip to content

Instantly share code, notes, and snippets.

@brendanhay
Created December 16, 2011 11:10
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save brendanhay/1485671 to your computer and use it in GitHub Desktop.
Save brendanhay/1485671 to your computer and use it in GitHub Desktop.
Example Shovel Config
[
{rabbit, [
%% snip...
]},
{rabbitmq_shovel, [
{shovels, [
{'MUTHA-SHOVELER', [
{sources, [
{broker, "amqp://"}
]},
{destinations, [
{broker, "amqp://"},
{declarations, [
{'exchange.declare', [{exchange, <<"my_exchange">>}, {type, <<"direct">>}, durable]}
]}
]},
{queue, <<"my_queue">>},
{prefetch_count, 10}
]}
]}
]}
].
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment