Skip to content

Instantly share code, notes, and snippets.

@alexinmotion
Created August 12, 2012 07:26
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 alexinmotion/3330468 to your computer and use it in GitHub Desktop.
Save alexinmotion/3330468 to your computer and use it in GitHub Desktop.
rabbitmq.config
[
{kernel,[{inet_dist_use_interface,{127,0,0,1}}]}
,
{rabbitmq_shovel,
[ {shovels, [
{shovel_heartbeat,
[ {sources,
[ {broker, "amqp://"} ]}
, {destinations,
[ {broker, "amqp://user:pass@hostname?heartbeat=35"} ]}
, {queue, <<"sensors.status">>}
, {ack_mode, on_confirm}
, {publish_properties, [ {delivery_mode, 2} ]}
, {reconnect_delay, 10}
]}
,
{shovel_events,
[ {sources,
[ {broker, "amqp://"} ]}
, {destinations,
[ {broker, "amqp://user:pass@hostname?heartbeat=35"} ]}
, {queue, <<"sensors.specimen">>}
, {ack_mode, on_confirm}
, {publish_properties, [ {delivery_mode, 2} ]}
, {reconnect_delay, 10}
]}
]}
]}
,
{rabbit, [
{disk_free_limit, {mem_relative, 0.25}}
,{log_levels, [{connection, none}]}
]}
].
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment