Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [
- {mnesia, [{dump_log_write_threshold, 100}
- ]},
- {rabbit, [{vm_memory_high_watermark, 0.4}
- ]},
- {rabbitmq_shovel,
- [{shovels,
- [{myshovel,
- [{sources, [
- {broker, "amqp://guest:guest@localhost"},
- {declarations, [
- {'exchange.declare', [{exchange, <<"source_exchange">>}, {type, <<"direct">>}, durable]},
- {'queue.declare', [{queue, <<"task_queue">>}, durable]},
- {'queue.bind', [{exchange, <<"source_exchange">>}, {queue, <<"task_queue">>}]}
- ]}
- ]},
- {destinations, [
- {declarations, [
- {'exchange.declare', [{exchange, <<"destination_exchange">>}, {type, <<"direct">>}, durable]},
- {'queue.declare', [{queue, <<"destination_q1">>}, durable]},
- {'queue.bind', [{exchange, <<"destination_exchange">>}, {queue, <<"destination_q1">>}]}
- ]}
- ]},
- {queue, <<"task_queue">>},
- {reconnect_delay, 5}
- ]}
- ]
- }]
- }
- ].
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement