Skip to content

Instantly share code, notes, and snippets.

@nikolayvitaev
Forked from brendanhay/rabbitmq.config
Created September 25, 2018 14:42
Show Gist options
  • Save nikolayvitaev/2af70282c2873ac055c493ae4bc16aaa to your computer and use it in GitHub Desktop.
Save nikolayvitaev/2af70282c2873ac055c493ae4bc16aaa 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