 
 Coordinator = require('../src/coordinator').Coordinator
 transport = require '../src/transport'
+common = require '../src/common'
 participants = require './fixtures/participants'
 
 # Note: most require running an external broker service

                  sendPackets packets, (err) ->
                    chai.expect(err).to.not.exist



createBindQueues = (broker, queueMapping, callback) ->
  createBindQueue = (det, cb) ->
    [client, type, srcQ, tgtQ] = det
    createQ = if type == 'outqueue' then srcQ else tgtQ
    client.createQueue type, createQ, (err) ->
      return cb err if err
      broker.bindQueue srcQ, tgtQ, cb

