0
0
Fork 0
mirror of https://github.com/alerta/alerta.git synced 2025-01-30 03:33:59 +00:00
alerta_alerta/contrib/examples/alert_shovel.erl
2013-03-15 17:22:01 +00:00

15 lines
426 B
Erlang

[{rabbitmq_shovel,
[{shovels,
[{alerts_shovel,
[{sources, [{broker,"amqp://10.121.75.193"}]},
{destinations, [{broker, "amqp://192.168.16.66"}]},
{queue, <<"alerts">>},
{ack_mode, on_confirm},
{publish_properties, [{delivery_mode, 2}]},
{publish_fields, [{exchange, <<"">>},
{routing_key, <<"alerts">>}]},
{reconnect_delay, 5}
]}
]
}]
}].