~ubuntu-branches/ubuntu/saucy/rabbitmq-server/saucy

« back to all changes in this revision

Viewing changes to plugins-src/rabbitmq-federation/etc/flopsy.sh

  • Committer: Package Import Robot
  • Author(s): Emile Joubert
  • Date: 2012-11-19 11:42:31 UTC
  • mfrom: (0.2.18) (0.1.32 sid)
  • Revision ID: package-import@ubuntu.com-20121119114231-hvapkn4akng09etr
Tags: 3.0.0-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
CTL=$1
 
3
 
 
4
$CTL set_parameter federation-upstream mopsy '{"uri": "amqp://localhost:5675"}'
 
5
$CTL set_parameter federation-upstream-set ring '[{"upstream": "mopsy", "max-hops": 2}]'
 
6
$CTL set_policy ring "^ring$" '{"federation-upstream-set": "ring"}'